Skip to main content

Summary

Redo the most recently undone action in the document.
  • Operation ID: history.redo
  • API member path: editor.doc.history.redo(...)
  • Mutates document: yes
  • Idempotency: non-idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a HistoryActionResult with noop flag, reason (EMPTY_REDO_STACK | NO_EFFECT when noop), and revision before/after.

Input fields

No fields.

Example request

Output fields

Example response

Pre-apply throws

  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • None

Raw schemas