getContentMetadata

Function

Fetch an item's metadata from a portal and parse and return it as JSON

Parameters

Parameter Type Default Notes
id Required string

item id

requestOptions Optional IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Promise<any>

Function defined in content/src/metadata.ts:21