Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
items | object[] | Yes | Array of items to read (see below) |
items:
| Field | Type | Required | Description |
|---|---|---|---|
type | "section" | Yes | Currently only sections are supported |
documentId | string (UUID) | Yes | Document UUID |
sectionId | string (UUID) | Yes | Section UUID |
branchName | string | No | Branch to read from (default: document default branch) |
Response
Array of content items, one per requested item. Each section returns:contentHash— include this when updating the section (for conflict detection)content— array of text and resource blocks- Media (images, PDFs) are returned as resource blocks with signed URLs valid for 1 hour
Handling Media
To view an image from a resource block:Handling Comments
Sections may contain inline comment markers:<moxn:comment> tags around the original text. See sections for how to create new comments.
Error Handling
Invalid or missing items return an error entry:error field in each response item.