Show examples in:
JavascriptHTTP
Content Management API > Schema Menu Item

Schema Menu Item

In DatoCMS you can organize the different models and blocks present in your administrative area reordering and grouping them, so that their purpose will be more clear to the final editor.

Object payload

idstring

RFC 4122 UUID of schema menu item expressed in URL-safe base64 format

Example:"uinr2zfqQLeCo_1O0-ao-Q"
typestring

Must be exactly "schema_menu_item". JSON API type field

attributes.labelnull, string

The label of the schema menu item (only present when the schema menu item is not linked to an item type)

Example:"Posts"
attributes.positioninteger

Ordering index

Example:1
attributes.kindenum

Indicates if the schema menu item refers to an item type or a modular block

Example:"item_type"
item_type
modular_block
relationships.item_type.data

Item type associated with the schema menu item

Type:<a href="/docs/content-management-api/resources/item_type">ResourceLinkage&#x3C;"item_type"></a>, null
relationships.parent.data

Parent schema menu item

Type:null, <a href="/docs/content-management-api/resources/schema_menu_item">ResourceLinkage&#x3C;"schema_menu_item"></a>
relationships.children.data

Underlying schema menu items

Type:Array&#x3C;<a href="/docs/content-management-api/resources/schema_menu_item">ResourceLinkage&#x3C;"schema_menu_item"></a>>

Available endpoints