Changes data
quotecloud_patch_block_style
Shallow-merge style fields into a block’s style object, so naming one field does not drop the others. Works on documents in either contentMode via revisionToken or expectedRevision, and addresses the block by blockId or blockLinkId. A block whose payload has no style object is refused with invalid_existing_payload.
Inputs
documentIdRequiredConvex document ID or company-scoped numeric display ID. string
blockIdOptionalThe block id reported by quotecloud_inspect_structure. Supply this or blockLinkId, not both. string
blockLinkIdOptionalThe block’s API Link ID (BlockData.apiLinkId), the short handle set in the editor. Supply this or blockId, not both; a link id shared by several blocks is refused as ambiguous. string
revisionTokenOptionalDocument revisionToken from quotecloud_inspect_structure. Selects the normalized argument family, which works in either contentMode; the write is refused with a *_revision_conflict if the document moved since it was read. string
expectedRevisionOptionalnumber
stylePatchRequiredobject
lockTokenRequiredStable opaque token for this agent edit session. Reuse it to heartbeat owned element locks. string