getItemDataUrl
Get the fully qualified URL to the data REST end point for an item
Get the fully qualified URL to the data REST end point for an item
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| item Required | IItem |
w/ id and access |
|
| portalUrlOrObject Optional | string | IPortal | IHubRequestOptions | IRequestOptions |
a portal base or API URL, a portal object, or request options containing either of those |
|
| token Optional | string |
token for the current user's session; will only be appended as a query parameter if the item's access is not |
Returns
URL to the item's data REST end point, defaults to https://www.arcgis.com/sharing/rest/content/items/{item.id}/data
string
Function defined in packages/common/src/urls/get-item-data-url.ts:13