Page Elements Api V2

Insert header section

Inserts a section from a section site into the header.

post/api/sites/multiscreen/v2/{site_name}/header/sections

Request

  • Base URL
    https://api.duda.co
  • URL
    https://api.duda.co/api/sites/multiscreen/v2/{site_name}/header/sections
  • Auth
    HTTP basic

Path parameters

site_namestring required

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

Request body

next_sibling_idstring

Id of the existing sibling element before which the section is inserted; omit to append at the end.

parent_idstring

Optional section parent. Omit to use the endpoint default: body for a page or header for the header. Pass hamburger_menu explicitly to insert into the hamburger menu.

section_idstring required

Alias of an existing section site to insert (equivalent to elementSourceId in V1). It identifies the source section site whose content is added to the page.

Response

OK

Changes

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