history_restore
Restore a previous committed revision while preserving history by creating a new revision. Provide the project ID, current expected revision, and target revision to revert changes safely.
Instructions
Restore a committed revision by creating a NEW revision; requires the current expected_revision and preserves history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | ||
| project_id | Yes | ||
| target_revision | Yes | ||
| expected_revision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| changed | No | ||
| summary | Yes | ||
| revision | No | ||
| warnings | No | ||
| project_id | No |