Packages

Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@3.0.5/dist/umd/auth.umd.min.js" integrity="sha384-SFsp6KjyOY6D0nXpfF9EqA6nsvKE3PXG1k/Yv7DAH+kiSByLiHbiv5F8EKdIrHFF" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:



Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@3.0.5/dist/umd/feature-layer.umd.min.js" integrity="sha384-W2iSrwPDE8BdCLA1bIFI6HqtiPRb8JJpaPJMC8y/P78iuXAR5cHO3EKnPy46igsJ" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@3.0.5/dist/umd/geocoding.umd.min.js" integrity="sha384-5FrfgeZnDjp6noj33nOxdX9W5dSeG6QSl99rJ2UT5bC8aCngelPGF6WEN30+csb0" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-portal@3.0.5/dist/umd/portal.umd.min.js" integrity="sha384-sjRm2e/WQ0apZ6S33A38aYLfMMhWaxsEScyhZVW7TqlD7+lyQA65Xsuu10G01jJ7" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-request@3.0.5/dist/umd/request.umd.min.js" integrity="sha384-6psQZQ9Isel/v0I3dUbFOTYN5/SB8aLrXeQ/e5SPfVDKZz39f3u5TyzHqE6MsyaL" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@3.0.5/dist/umd/routing.umd.min.js" integrity="sha384-SFvpdn+nqIfz6sNnv+tlIZsJNLwRHZwyL5GJuGzbDJNML1oEG/4W+peA71lAFVbc" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@3.0.5/dist/umd/service-admin.umd.min.js" integrity="sha384-5W/yCVSglUlLzxO1b4kzZJ8zpFo898KZ7D/0NH8aLNgEOCoYU/O0X4V60KzPayBF" crossorigin="anonymous"></script>


Version 3.0.5

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

CDN with SRI: