v1

latestOpenAPI 3.1.02026-07-242470655.6 KB

Update Page Element

Update a page element of an individual Page of a Site.

put/sites/multiscreen/{site_name}/pages/{page_uuid}/elements/{element_id}

Path parameters

site_namestring required

The unique identifier of the target Site.

page_uuidstring required

The uuid of the target page.

element_idstring required

The unique identifier of the element on the site.

Request body

next_sibling_idstring

The next sibling element in the DOM. if set, the element will be append before this sibling element. only for sections that have the attribute ‘data-page-element-id’. Null means it's appended last.

parent_element_idstring

The parent element.

typestring required

The element type. Can be only “SECTION” at the moment.

Response

200

element_idstring
element_source_idstring
next_sibling_idstring
typestring

Example response

{
  "element_id": "1324365958",
  "element_source_id": "16ade0ab58014579b0e6fec973f5f171",
  "next_sibling_id": "1690312325",
  "type": "SECTION"
}