getDomain

Function

Get the domain associated with a Hub Site. Since a site may have a custom domain, in addition to a default domain, we will return the custom domain over the default domain.

  • getDomain(siteId: string, requestOptions: IRequestOptions) : Promise<any>

Parameters

Parameter Type Default Notes
siteId Required string

Identifier of the Hub Site

requestOptions Optional IRequestOptions

request options that may include authentication

Available requestOptions

Property Type Notes

Returns

A Promise that will resolve with the domains associated with the site.

Promise<any>

Function defined in sites/src/get-domain.ts:38