get https://{instance_zuid}.api.zesty.io/v1/env/nav
This data structure powers the manager-ui content-editor navigation.
Response: raw JSON
name | description |
---|---|
ZUID | [string] Resource identifier |
label | [string] Resource's display name |
type | [string] Resource's type |
contentModelZUID | [string] Resource's content model (schema) |
sort | [string] Order |
parentZUID | [string] Resource's parent's identifier |
Note: The response's
data
field is one-dimensional so element nesting should be done usingparentZUID
and within the same level, element ordering should be done usingsort
.
type
is one of:
- dataset: headless model
- external: external link
- internal: internal link
- item: single-page model
- pageset: multi-page model
- redirect: redirect link