Packages

Version 2.0.3

@esri/arcgis-rest-auth

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

npm install:

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

Module Import:

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

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-auth@2.0.3/dist/umd/auth.umd.min.js" integrity="sha384-XTGvfHKW6+OfEcby/oYsNEhPicFaaOiw1aTOsDLIBGuDFv/Wce2kkG5r/Dr+sbrY" crossorigin="anonymous"></script>


Version 2.0.3

@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@^2.0.0  @esri/arcgis-rest-request@^2.0.0 

Module Import:

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

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-feature-layer@2.0.3/dist/umd/feature-layer.umd.min.js" integrity="sha384-dRwyGQUTIkHGqiQ/VNvoBOwT7Xm86M1t7Dh9YL9Q6/yBRFyb7zzmGgCfNaiGQwnP" crossorigin="anonymous"></script>


Version 2.0.3

@esri/arcgis-rest-geocoding

Geocoding helpers for @esri/arcgis-rest-js

npm install:

npm install @esri/arcgis-rest-geocoding @esri/arcgis-rest-auth@^2.0.0  @esri/arcgis-rest-request@^2.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@2.0.3/dist/umd/geocoding.umd.min.js"></script>

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-geocoding@2.0.3/dist/umd/geocoding.umd.min.js" integrity="sha384-qoPGIx+hpFXTRgN3rAM+nvM/1JNEjjKnhLJTJErj2fdCtGaqiFf7A3Nd/lb4AeXg" crossorigin="anonymous"></script>


Version 2.0.3

@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@^2.0.0  @esri/arcgis-rest-request@^2.0.0 

Module Import:

import {
  SearchQueryBuilder,
  createGroup,
  getGroup,
  getGroupContent,
  getGroupUsers,
  joinGroup,
  leaveGroup,
  createGroupNotification,
  protectGroup,
  unprotectGroup,
  removeGroup,
  searchGroups,
  updateGroup,
  addItemData,
  addItemRelationship,
  addItemResource,
  createFolder,
  createItem,
  createItemInFolder,
  getItem,
  getItemData,
  getItemGroups,
  getItemResources,
  getRelatedItems,
  serializeItem,
  protectItem,
  unprotectItem,
  removeFolder,
  removeItem,
  removeItemRelationship,
  removeItemResource,
  searchItems,
  moveItem,
  updateItem,
  updateItemResource,
  setItemAccess,
  shareItemWithGroup,
  unshareItemWithGroup,
  getSharingUrl,
  getUserMembership,
  getUser,
  getUserUrl,
  acceptInvitation,
  declineInvitation,
  getUserInvitation,
  getUserInvitations,
  getUserNotifications,
  removeNotification,
  updateUser,
  getPortal,
  getSelf,
  getPortalUrl,
} from "@esri/arcgis-rest-portal";

CDN:

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

CDN with SRI:

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


Version 2.0.3

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-request@2.0.3/dist/umd/request.umd.min.js" integrity="sha384-4jIlRERwtR6uKJJCUuX8NQZpEFPmwVL1xksV1ooawShW6Qy/wCBMOs+f3oVCvUsK" crossorigin="anonymous"></script>


Version 2.0.3

@esri/arcgis-rest-routing

Routing helpers for @esri/arcgis-rest-js

npm install:

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

Module Import:

import {
  solveRoute,
} from "@esri/arcgis-rest-routing";

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-routing@2.0.3/dist/umd/routing.umd.min.js" integrity="sha384-PVhhcZSnu9j1qJriyBxMGuIZqNZ/AHlP1eCDmRi+8o0IkPDdftX09niy8Z/IrDwp" crossorigin="anonymous"></script>


Version 2.0.3

@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@^2.0.0  @esri/arcgis-rest-portal@^2.0.0  @esri/arcgis-rest-request@^2.0.0 

Module Import:

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

CDN:

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

CDN with SRI:

<script src="https://unpkg.com/@esri/arcgis-rest-service-admin@2.0.3/dist/umd/service-admin.umd.min.js" integrity="sha384-oUFOmDCUxfAWR/TZqGLFb3QqVEhK83gy/oA8b7qma6GqOMlQ668xEpPlhfaSXdlE" crossorigin="anonymous"></script>


Version 2.0.3

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

CDN with SRI: