Skip to main content

Summary

Accept or reject tracked changes by ID, range, or scope: all (optionally filtered by story).
  • Operation ID: trackChanges.decide
  • API member path: editor.doc.trackChanges.decide(...)
  • Mutates document: yes
  • Idempotency: conditional
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a Receipt confirming the decision was applied; reports NO_OP if the change was already resolved and typed failures for unsupported or denied tracked-change decisions.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE
  • INVALID_INPUT
  • INVALID_TARGET

Non-applied failure codes

  • NO_OP
  • INVALID_TARGET
  • TARGET_NOT_FOUND
  • CAPABILITY_UNAVAILABLE
  • PERMISSION_DENIED
  • PRECONDITION_FAILED
  • COMMENT_CASCADE_PARTIAL

Raw schemas