Skip to main content
Alpha: Document API is currently alpha and subject to breaking changes.

Summary

Redo the most recently undone action in the active editor.
  • 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 and revision before/after; noop is true when the redo stack is empty.

Input fields

No fields.

Example request

Output fields

Example response

Pre-apply throws

  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • None

Raw schemas