Undo the last change
repovive_undo_last_changeRestore an entity's previous revision to undo the most recent edit. The undo creates a new revision, so it can be reversed; use dry_run to preview changes first.
Instructions
Step one change back: restore the entity's previous revision, undoing the most recent edit made through this server. Equivalent to restoring seq-1. Nothing is deleted — the undo is recorded as a new revision, so it can itself be undone. Use dry_run=True to see what would change first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Report the steps without changing anything | |
| target_id | Yes | Entity id — a build session id, contest id, course id, or 'me' | |
| target_kind | Yes | Entity kind: build_session, contest, course, profile |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |