Skip to main content

Summary

Capture the current document’s diffable state as a versioned snapshot. v1 covers body, comments, styles, and numbering. Header/footer content is not included.
  • Operation ID: diff.capture
  • API member path: editor.doc.diff.capture(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a DiffSnapshot with a fingerprint and opaque payload.

Input fields

No fields.

Example request

Output fields

Example response

Pre-apply throws

  • None

Non-applied failure codes

  • None

Raw schemas