A page in shape
NavShell; its children are the visible sections. The full block catalogue lives in PageBlocks.
Endpoints
List all pages in the workspace. Fetch the current draft page document. Apply RFC 6902 JSON Patch operations to the draft. Roll back the draft to a prior version. Publish the current draft to live.Draft vs live
| State | What it is | How it changes |
|---|---|---|
| Draft | The working copy you read with GET /pages/{id}. Patches and rollbacks act on it. | Every PATCH produces a new draft version. |
| Live | The version your visitors see. | Updated only by POST /pages-publish. The publish endpoint promotes every page’s current draft to live in one call. |
Patching the tree
PATCH /pages/{id} accepts an RFC 6902 array. Each operation is { op, path, value? }, where path is a JSON Pointer into the page document. The pointer /tree/children/0/props/headline targets the headline prop of the first child block.
Common errors
Related
PageBlocks overview
The block catalogue, prop shapes, and how to compose a page tree.