Document Content and Versions
Use GET /api/v1/resources/{resource_id}/content to read content and PATCH to replace it. Use the snapshots endpoints to create and list recovery points.
Recommended write sequence
Read resource metadata.
Read current content.
Validate the transformation locally.
Replace content with
create_snapshot: true.Store the returned snapshot metadata.
Re-read the document and verify the expected section.
Prefer small, intentional replacements. For large rewrites, use a dedicated job with an audit trail and a human review step.