Packages

Version 3.4.2

@esri/arcgis-rest-auth

Authentication helpers for @esri/arcgis-rest-js.

npm install:

npm install @esri/arcgis-rest-auth @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  UserSession,
  ApplicationSession
} from "@esri/arcgis-rest-auth";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.4.2/dist/umd/auth.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.4.2/dist/umd/auth.umd.min.js" integrity="sha384-jLh/vkJbxGkqCRQWdHi9AhBCCgAZ1LHzqOYsPGjRJ5Uu/mlpVHVZAocswKmbvc10" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-demographics

Demographics data helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-demographics @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  getAvailableCountries,
  getAvailableDataCollections,
  getAvailableGeographyLevels,
  getGeography,
  queryDemographicData,
} from "@esri/arcgis-rest-demographics";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-demographics@3.4.2/dist/umd/demographics.umd.min.js"></script>

CDN with SRI:



Version 3.4.2

@esri/arcgis-rest-feature-layer

Feature layer query and edit helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-feature-layer @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  addFeatures,
  addAttachment,
  applyEdits,
  decodeValues,
  deleteFeatures,
  deleteAttachments,
  getAllLayersAndTables,
  getAttachments,
  getLayer,
  getService,
  parseServiceUrl,
  getFeature,
  queryFeatures,
  queryRelated,
  updateFeatures,
  updateAttachment,
} from "@esri/arcgis-rest-feature-layer";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.4.2/dist/umd/feature-layer.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.4.2/dist/umd/feature-layer.umd.min.js" integrity="sha384-550dnQl7HCDN2Rd+0aGJgeIxTOJHZrUG4OY7lqIEA0Ge4LFAhI0tLAT+rxU3a1cS" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-geocoding

Geocoding helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-geocoding @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  bulkGeocode,
  geocode,
  getGeocodeService,
  reverseGeocode,
  suggest,
} from "@esri/arcgis-rest-geocoding";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@3.4.2/dist/umd/geocoding.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@3.4.2/dist/umd/geocoding.umd.min.js" integrity="sha384-vr60O8NWjJT88qqcVHqeHb3aaH6J7uYZh8XXi5AkGMc7aw1/dvtogKvb6L9ebCAT" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-portal

ArcGIS Online and Enterprise content and user helpers for @esri/arcgis-rest-request

npm install:

npm install @esri/arcgis-rest-portal @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  SearchQueryBuilder,
  addGroupUsers,
  createGroup,
  getGroup,
  getGroupCategorySchema,
  getGroupContent,
  getGroupUsers,
  searchGroupUsers,
  inviteGroupUsers,
  joinGroup,
  leaveGroup,
  createGroupNotification,
  protectGroup,
  unprotectGroup,
  removeGroup,
  removeGroupUsers,
  searchGroupContent,
  searchGroups,
  updateGroup,
  updateUserMemberships,
  addItemData,
  addItemRelationship,
  addItemResource,
  getUserContent,
  createFolder,
  createItem,
  createItemInFolder,
  exportItem,
  getItem,
  getItemBaseUrl,
  getItemData,
  getItemGroups,
  getItemInfo,
  getItemMetadata,
  getItemParts,
  getItemResource,
  getItemResources,
  getItemStatus,
  getRelatedItems,
  serializeItem,
  protectItem,
  unprotectItem,
  reassignItem,
  removeFolder,
  removeItem,
  removeItemRelationship,
  removeItemResource,
  searchItems,
  moveItem,
  updateItem,
  updateItemInfo,
  updateItemResource,
  addItemPart,
  cancelItemUpload,
  commitItemUpload,
  createOrgNotification,
  getUniqueServiceName,
  isServiceNameAvailable,
  setItemAccess,
  getSharingUrl,
  getUserMembership,
  isItemSharedWithGroup,
  ensureMembership,
  shareItemWithGroup,
  unshareItemWithGroup,
  getUser,
  getUserTags,
  getUserUrl,
  acceptInvitation,
  declineInvitation,
  getUserInvitation,
  getUserInvitations,
  getUserNotifications,
  removeNotification,
  searchUsers,
  updateUser,
  chunk,
  getPortal,
  getSelf,
  getPortalSettings,
  getPortalUrl,
  getSubscriptionInfo,
  scrubControlChars,
} from "@esri/arcgis-rest-portal";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-portal@3.4.2/dist/umd/portal.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-portal@3.4.2/dist/umd/portal.umd.min.js" integrity="sha384-tXQrpPnWptkoCrAwXTxgEF804SiqjUr00fe9UpO5uJAltTKZavx5OEXehJuWTY+B" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-request

Common methods and utilities for @esri/arcgis-rest-js packages.

npm install:

npm install @esri/arcgis-rest-request 

Module Import:

import {
  request
} from "@esri/arcgis-rest-request";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-request@3.4.2/dist/umd/request.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-request@3.4.2/dist/umd/request.umd.min.js" integrity="sha384-HJNM/T1Jdr0xjIzYZM7kHUEbRwwjAEi3aE9cpj1aje6QhoDu6hN/3nFYyAPM+K7N" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-routing

Routing helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-routing @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  closestFacility,
  decompressGeometry,
  isFeatureSet,
  normalizeLocationsList,
  originDestinationMatrix,
  serviceArea,
  solveRoute,
} from "@esri/arcgis-rest-routing";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.4.2/dist/umd/routing.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.4.2/dist/umd/routing.umd.min.js" integrity="sha384-AGltzI/IWIbQigx4YC+uTLXtv7tHH5szdxrahIlENKS+pgtP6xPoiyk3WswWgRIa" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-service-admin

Service administration helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-service-admin @esri/arcgis-rest-auth@^3.0.0  @esri/arcgis-rest-portal@^3.0.0  @esri/arcgis-rest-request@^3.0.0 

Module Import:

import {
  addToServiceDefinition,
  createFeatureService,
  getServiceAdminInfo,
  getViewSources,
  updateServiceDefinition,
} from "@esri/arcgis-rest-service-admin";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@3.4.2/dist/umd/service-admin.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@3.4.2/dist/umd/service-admin.umd.min.js" integrity="sha384-oP7skrM7xmqYKJxZBosDkTkVaiN2pUr8jpdyxu4tRsSAAaxxIUUx+oYH8Kr/FyO7" crossorigin="anonymous"></script>


Version 3.4.2

@esri/arcgis-rest-types

Shared TypeScript types for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-types 

Module Import:

import {
  IUser, IItem
} from "@esri/arcgis-rest-types";

CDN:

<script src="https://unpkg.com/@esri/arcgis-rest-types@3.4.2/dist/umd/types.umd.min.js"></script>

CDN with SRI: