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

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