getPortalUrls
get portal URLs (home, API, data, and thumbnail) for an item
get portal URLs (home, API, data, and thumbnail) for an item
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| item Required | IItem |
Item |
|
| requestOptions Required | IHubRequestOptions |
Request options |
Available requestOptions
| Property | Type | Notes |
|---|---|---|
| Optional | ArcGISIdentityManager | |
| Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
| Optional | string |
This is for server-side usage only, not for front-end use. |
| Optional | string | |
| Optional | boolean | |
| Optional | IHubRequestOptionsPortalSelf |
Returns
a hash with the portal URLs
{
- portalApi:
- string
- portalData:
- string
- portalHome:
- string
- thumbnail:
- string
Function defined in packages/common/src/content/compose.ts:336