getItemData

Function

import { getItemData } from "@esri/arcgis-rest-items";
//
getItemData("ae7")
  .then(response)
// or
getItemData("ae7", { authentication })
  .then(response)

Get the /data for an item. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
id Required string

Item Id

requestOptions Optional IItemDataRequestOptions

Options for the request

Returns

Promise<any> - A Promise that will resolve with the json data for the item.


Function defined in packages/arcgis-rest-items/src/get.ts:63