Portal Navigation

List Navigation configurations

Changed on

Returns a paginated list of the portal's sidebar navigation configurations. Each navigation is matched to pages by its show_on_path_prefixes and displayed automatically when using a named page layout that supports the sidebar UX.

get/v3/portals/{portalId}/customization/navigations

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

portalId, string uuid required
Example:f32d905a-ed33-46a3-a093-d8f536af9a8a

ID of the portal.

Query parameters

sort, string

Sorts a collection of portal navigations. Supported sort attributes are:

  • created_at
  • updated_at
  • name
page[size], integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number], integer
Example:1

Determines which page of the entities to retrieve.

filter, PortalNavigationsFilterParameters
id, UuidFieldFilter

Filter using one of the following operators: eq, oeq, neq

name, StringFieldFilter

Filter using one of the following operators: eq, oeq, neq, contains, ocontains

Filter navigations returned in the response.

Response

A paginated list of sidebar navigation configurations for a portal.

ListPortalNavigationsResponse required

A paginated list of sidebar navigation configurations for a portal.

data, PortalNavigationResponse[] required
meta, PaginatedMeta required

returns the pagination information

Example response

{
  "data": [
    {
      "show_on_path_prefixes": [
        "/guides"
      ],
      "name": "Main",
      "groups": [
        {
          "header": "Getting started",
          "links": [
            {
              "text": "Overview",
              "href": "/getting-started",
              "visibility": "public",
              "children": []
            }
          ]
        }
      ],
      "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z"
    }
  ],
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  }
}

Changes