The function Sections is a TypeScript function that returns an object with methods for retrieving, creating, updating, and deleting sections, as well as accessing columns within a section.

  • Parameters

    • baseUrl: string

      The base URL for the API endpoint.

    • clientId: TClientId

      The clientId parameter is of type TClientId, which represents the client ID. It is used to identify the client for whom the sections are being queried or created.

    • siteId: string

      The siteId parameter represents the ID of the site for which the sections are being queried or created.

    • pageId: string

      The pageId parameter is a string that represents the unique identifier of a page.

    • OptionalsectionOrder: number = null

      The sectionOrder parameter is used to specify the order of the section within a page. It is an optional parameter and can be either a number or null. If a number is provided, it represents the order of the section. If null is provided, the section order is not specified.

    Returns IQuerySections

    The function Sections returns an object that contains various methods and properties related to sections.