fetchCatalog

Function

Fetch a IHubCatalog from a backing item. This will apply schema upgrades to the structure

Parameters

Parameter Type Default Notes
identifier Required string
requestOptions Required IHubRequestOptions

Available requestOptions

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

Returns

Promise<IHubCatalog>
Property Type Notes
schemaVersion number

Schema Version

collections Optional IHubCollection[]

Collections within the Catalog

scopes Optional ICatalogScope

Filter defines the "scopes" of the Catalog, on a per entity type basis

title Optional string

Title for the Gallery


Function defined in common/src/search/fetchCatalog.ts:17