The Navigations function is a TypeScript function that returns an object with methods for interacting with a navigation API, including getting, creating, updating, and deleting navigation items, as well as accessing the children of a navigation item.

  • 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 navigations are being fetched or created.

    • siteId: string

      The siteId parameter is a string that represents the ID of a site. It is used to identify the specific site for which the navigations are being retrieved or modified.

    • OptionalnavItemId: string = null

      The navItemId parameter is the ID of a specific navigation item. It is optional and can be set to null if you want to perform operations on all navigation items.

    Returns IQueryNavigations

    The function Navigations returns an object of type IQueryNavigations.