Restore a revision
repovive_restore_revisionRestore an entity to a saved revision by reapplying its snapshot; the restore becomes a new revision, so you can undo the undo. Optionally target another entity; use dry run to preview steps.
Instructions
Roll an entity back to a saved revision by re-applying its snapshot through the normal Repovive API. Nothing is deleted: the restore is itself recorded as a new revision, so you can undo the undo. Pass into_target_id to restore a snapshot into a different entity — for instance to rebuild a deleted problem draft in a fresh build session. Use dry_run=True first to see exactly which steps would run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seq | No | Per-target sequence number | |
| dry_run | No | Report the steps without changing anything | |
| target_id | No | Entity id, when addressing by sequence | |
| revision_id | No | Revision id to restore | |
| target_kind | No | Entity kind, when addressing by sequence | |
| into_target_id | No | Apply the snapshot to this entity instead of its original |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |