Packages

Version 3.6.0

@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.6.0/dist/umd/auth.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.6.0/dist/umd/auth.umd.min.js" integrity="sha384-7Em1nFlvogyhnCNL0MnwVYCuKHbr/rlzgToUT4D2i2/4JQgHwqhLwWovhb8CtvPh" crossorigin="anonymous"></script>


Version 3.6.0

@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.6.0/dist/umd/demographics.umd.min.js"></script>

CDN with SRI:



Version 3.6.0

@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.6.0/dist/umd/feature-layer.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.6.0/dist/umd/feature-layer.umd.min.js" integrity="sha384-G1cfompQwS/O57crskYv9WazDiJmAVfMEhIbti94x9zxezVMZKzzBRIAA+7urF32" crossorigin="anonymous"></script>


Version 3.6.0

@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.6.0/dist/umd/geocoding.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@3.6.0/dist/umd/geocoding.umd.min.js" integrity="sha384-CNPgbfmNeZ6S6+pzWHZ41henEUQ/P+1aeFHlfiqkNyBk4rjOu+Eha+aO8jnvP137" crossorigin="anonymous"></script>


Version 3.6.0

@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,
  bboxToString,
  isBBox,
  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,
  getUserProperties,
  getUserTags,
  getUserUrl,
  acceptInvitation,
  declineInvitation,
  getUserInvitation,
  getUserInvitations,
  getUserNotifications,
  removeNotification,
  searchUsers,
  setUserProperties,
  updateUser,
  chunk,
  getPortal,
  getSelf,
  getPortalSettings,
  getPortalUrl,
  getSubscriptionInfo,
  scrubControlChars,
} from "@esri/arcgis-rest-portal";

CDN:

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

CDN with SRI:

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


Version 3.6.0

@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.6.0/dist/umd/request.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-request@3.6.0/dist/umd/request.umd.min.js" integrity="sha384-UjSGsDWSs+t5lxbhsn/ZnF7bu+bePBOe8OXhlsFPS5ZXAfkJvklV6yyp4mPem21K" crossorigin="anonymous"></script>


Version 3.6.0

@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.6.0/dist/umd/routing.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.6.0/dist/umd/routing.umd.min.js" integrity="sha384-D0RNbspRFvx/R0mk2vMppwUM/276BMmNvyNm7MgOTnyTatoKkMKn07V0ZJdNdlXw" crossorigin="anonymous"></script>


Version 3.6.0

@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.6.0/dist/umd/service-admin.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@3.6.0/dist/umd/service-admin.umd.min.js" integrity="sha384-QkPVHnJhPNAAKdroiReihfC3PCY49lzK0KeIJlnDYDF/9HulzTcXX+WXG6yykDAa" crossorigin="anonymous"></script>


Version 3.6.0

@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.6.0/dist/umd/types.umd.min.js"></script>

CDN with SRI: