getSiteById

Function

Get a Site Model by it's Item Id, and apply schema upgrades

Parameters

Parameter Type Default Notes
id Required string

Site Item Id

hubRequestOptions Required IHubRequestOptions

Returns

Promise<IModel>
Property Type Notes
item IItem
data Optional [key: string]: any
resources Optional [key: string]: any

Function defined in common/src/sites/get-site-by-id.ts:10