Changes data

quotecloud_apply_structure_patch

Atomically apply ordered page, section, container, column, and block operations to the document structure returned by quotecloud_inspect_structure. Insert payloads must carry a stable id; use quotecloud_get_authoring_schema for canonical defaults. Sections are derived page groups: insertSection creates a page with newSection=true, moveSection moves the contiguous group, and deleteSection removes that group. Operations are all-or-nothing and checked against revisionToken. Calls containing a delete operation require confirmation.

Inputs

documentIdRequired
Convex document ID or company-scoped numeric display ID. string
revisionTokenRequired
Opaque document revisionToken from quotecloud_inspect_structure. string
operationsRequired
list of value
lockTokenRequired
Stable opaque token for this agent edit session. Reuse it to heartbeat owned element locks. string
confirmTokenOptional
One-time code from the preview. Send it with otherwise identical inputs to run the change. string