/navigation

GET

Get a list of topics for site navigation. This is currently unused.

Parameters

Name Type Description
lang query the 2 character code of the language required in returned labels, e.g. cy for welsh

Responses

200: Provides a hierarchical list of navigation items with their links, copy, and localisation references.

Example value
{
  "description": "string",
  "items": [
    [
      {
        "description": "string",
        "label": "string",
        "links": {
          "self": {
            "href": "string",
            "id": "string"
          }
        },
        "name": "string",
        "slug": "string",
        "subtopics": [
          {
            "description": "string",
            "label": "string",
            "links": {
              "self": {
                "href": "string",
                "id": "string"
              }
            },
            "name": "string",
            "slug": "string",
            "title": "string",
            "uri": "string"
          }
        ],
        "title": "string",
        "uri": "string"
      }
    ]
  ],
  "links": {
    "self": {
      "href": "string"
    }
  }
}

400: The request was invalid.

500: Failed to process the request due to an internal error.