Packages

Version 3.0.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.0.2/dist/umd/auth.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.0.2/dist/umd/auth.umd.min.js" integrity="sha384-eBdJSoGy6N6hco9mQDUwu+jU6NcCs46XjR/Dp6caV5b//t1dOXL4VcsMHn6qvIf3" crossorigin="anonymous"></script>


Version 3.0.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 {
  queryDemographicData,
  getAvailableCountries,
  getAvailableDataCollections,
  getAvailableGeographyLevels,
  getGeography,
} from "@esri/arcgis-rest-demographics";

CDN:

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

CDN with SRI:



Version 3.0.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 {
  getLayer,
  updateAttachment,
  applyEdits,
  decodeValues,
  deleteFeatures,
  deleteAttachments,
  getAttachments,
  addAttachment,
  getService,
  addFeatures,
  getFeature,
  queryFeatures,
  queryRelated,
  updateFeatures,
} from "@esri/arcgis-rest-feature-layer";

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.0.2/dist/umd/feature-layer.umd.min.js" integrity="sha384-a6tICWlF/0PVvinGT7aZNCvMZ5E4cVzyOD8wGS7VlVDfCIge1tnDms29KInrK05U" crossorigin="anonymous"></script>


Version 3.0.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 {
  suggest,
  bulkGeocode,
  geocode,
  getGeocodeService,
  reverseGeocode,
} from "@esri/arcgis-rest-geocoding";

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@3.0.2/dist/umd/geocoding.umd.min.js" integrity="sha384-sUBBKuK0oPTT2YhLnoIezQVB59CtOL+i9eF2LIJisEMIAASJ9B/q/YaxpRX43tqW" crossorigin="anonymous"></script>


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

CDN:

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

CDN with SRI:

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


Version 3.0.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.0.2/dist/umd/request.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-request@3.0.2/dist/umd/request.umd.min.js" integrity="sha384-nn77wsbzNpYQcwjOkfcfUwZZ1/mmvXUwjqG5EuzAd41KMMp3U4x89ZFYtWHIcjxp" crossorigin="anonymous"></script>


Version 3.0.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 {
  normalizeLocationsList,
  solveRoute,
  closestFacility,
  serviceArea,
  originDestinationMatrix,
  isFeatureSet,
  decompressGeometry,
} from "@esri/arcgis-rest-routing";

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.0.2/dist/umd/routing.umd.min.js" integrity="sha384-lR8KwLq4hWzx2fPwhe7cWIgYiC4Y1tSRbOktWNL66PbOJPMtsq/KexK9VIdKetMu" crossorigin="anonymous"></script>


Version 3.0.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 {
  updateServiceDefinition,
  addToServiceDefinition,
  createFeatureService,
} from "@esri/arcgis-rest-service-admin";

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@3.0.2/dist/umd/service-admin.umd.min.js" integrity="sha384-hPE8EAUUaJ29H8B+qPogyFOEDjbddaGE6Eg0ueoa9+HrSKBNy7k/tSyG3HtHi6ac" crossorigin="anonymous"></script>


Version 3.0.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.0.2/dist/umd/types.umd.min.js"></script>

CDN with SRI: