getAdditionalResourceUrl
Returns the url for an additional resource.
Automatically appends auth token if token is available and resource points to the backing service of an item.
Returns the url for an additional resource.
Automatically appends auth token if token is available and resource points to the backing service of an item.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
resource Required | IAGOAdditionalResource |
raw additional resource of an item |
|
item Required | IItem | ||
requestOptions Optional | IHubRequestOptions |
IHubRequestOptions, including authentication |
Available requestOptions
Property | Type | Notes |
---|---|---|
Optional | UserSession | |
Optional | string | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
string
Function defined in common/src/content/_internal.ts:332