Restore site revision
restore_site_revisionPut a past version back into the DRAFT (never the live site; publish_site is separate). The current state is kept first (safety backup + a version in history), so it can be undone. scope 'site' (default) restores every file and page; 'page' one page (pageNodeId from list_site_history with revisionId). Unpublished work in the draft is replaced: confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Site id. | |
| scope | No | site (default) or page. | |
| pageNodeId | No | Which page, for scope page. | |
| revisionId | Yes | Revision id from list_site_history. |