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.

  • Parameters

    • baseUrl: any

      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.

    • clientId: TClientId

      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.

    • OptionalsiteId: string = null

      The 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.

    Returns IQuerySites

    The function Sites returns an object of type IQuerySites.