Skip to main content
Fetch section content. Returns text as markdown and media as signed URLs. Request multiple items in a single call to minimize round trips.

Parameters

Each item in items:

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:
Then use your client’s file/image viewing capability.

Handling Comments

Sections may contain inline comment markers:
When editing a section with comments, preserve the <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:
Always check for an error field in each response item.

Examples

  • find — discover document and section IDs
  • search — find sections by text content
  • sections — write/edit section content