Skip to main content

Sp.Sites.getOneSiteById

GET 

/clients/:clientId/sp/sites/:siteId

This function retrieves a site by its ID using a Graph API client in TypeScript.

Request

Responses

A Promise that resolves to an object of type IGraphSite representing a site retrieved by its ID from the openGraphClient.