v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Create Navigation Item

Create the Navigation details of a Site.

post/sites/multiscreen/{site_name}/navigation/{lang}/items

Path parameters

site_namestring required

The unique identifier of the target Site.

langstring required

The language.

Request body

hiddenstring[]

"DESKTOP", "TABLET", or "MOBILE"

next_sibling_idstring required

The Id of the parent element. If an empty string, the item will be added to the end of the navigation.

parent_idstring required

The Id of the parent element. If an empty string, the item will be added to the top level of the navigation.

titlestring required

The text displayed to the user within the navigation.

type'FOLDER' required

Currently the only supported type is FOLDER.

Response

200

depthinteger
hiddenstring[]
idstring
next_sibling_idstring
parent_idstring
titlestring
typestring
urlstring

Example response

{
  "hidden": [
    "MOBILE"
  ],
  "id": "dm_navGroup00_item",
  "next_sibling_id": "dm_navGroup010101323624_item",
  "title": "Home",
  "type": "PAGE",
  "url": "/"
}