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
datafield is one-dimensional so element nesting should be done usingparentZUIDand 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
