Navigation

Create site navigation item

Adds an item to a site's navigation in one language.

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

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/{site_name}/navigation/{lang}/items
  • Auth
    HTTP basic

Path parameters

site_namestring required

The site's unique name (its ID), returned when the site is created.

langstring required

Language code of the navigation, such as en.

Request body

hiddenstring[]
next_sibling_idstring
parent_idstring
titlestring
type'PAGE' | 'DYNAMIC_PAGE_TEMPLATE' | 'EXTERNAL_PAGE' | 'ANCHOR' | 'FOLDER' | 'DYNAMIC_NAVIGATION_ITEMS_PLACEHOLDER'

Response

OK

depthinteger
hiddenstring[]
idstring
next_sibling_idstring
parent_idstring
sub_navigationNavigationItemRDT[] circular
titlestring
type'PAGE' | 'DYNAMIC_PAGE_TEMPLATE' | 'EXTERNAL_PAGE' | 'ANCHOR' | 'FOLDER' | 'DYNAMIC_NAVIGATION_ITEMS_PLACEHOLDER'
urlstring

Changes

No recorded changes to this operation across all 1 revision of this API.