getPortalUrls
get portal URL (home, API, and data) properties for content
get portal URL (home, API, and data) properties for content
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
content Required | IHubContent |
Hub content |
|
requestOptions Required | IHubRequestOptions |
Request options |
Available requestOptions
Property | Type | Notes |
---|---|---|
Optional | UserSession | |
Optional | string | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
a hash with the portal URLs
{
- portalApiUrl:
- any
- portalDataUrl:
- any
- portalHomeUrl:
- any
- thumbnailUrl:
- any
Function defined in content/src/enrichments.ts:496