Restore revision
revision_restoreReplace the current scene contents with a historical revision, creating a new head revision. This changes the active scene and discards later edits from that active view; prior revisions remain available. Use revision_diff to review changes first and project_get to read the exact current head. A stale currentHeadRevisionId rejects with REVISION_CONFLICT; policy may require interactive approval. Returns a restore job; check job_wait/job_get for the actual terminal state and new revision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Short description saved with the restored revision. | |
| projectId | Yes | Stable project ID returned by project_create or projects_list. | |
| idempotencyKey | Yes | Stable caller-chosen key for safe retries of this same request. | |
| sourceRevisionId | Yes | Existing revision whose scene should become the new head. | |
| currentHeadRevisionId | Yes | Current head revision ID used to prevent conflicting restores. |