The baseUrl
parameter is a string that represents the base URL of the API
endpoint for the sites. It is used to construct the URL for various API requests.
The clientId
parameter is of type TClientId
, which represents the
client ID for authentication purposes. It is used to identify the client making the request to the
API.
Optional
siteId: string = nullThe siteId
parameter is a string that represents the ID of a
specific site. It is an optional parameter and can be set to null
if not needed.
The function Sites
returns an object of type IQuerySites
.
The
Sites
function is used to query, create, update, and delete sites, as well as access related resources such as lists, parts, files, webs, and pages.