restore_version
Pass revisionId to write a stored revision back through the normal save path, which appends a new revision and leaves older rows in place. Omit revisionId to undo the most recent change (optionally for one contentLocale). surface is required; documentId is required for page and page-component and omitted for chrome-header and chrome-footer. get_pages, get_chrome, and get_components return the revision ids to use here (versions=N lists them).
restore_version · Group: design
Pass revisionId to write a stored revision back through the normal save path, which appends a new revision and leaves older rows in place. Omit revisionId to undo the most recent change (optionally for one contentLocale). surface is required; documentId is required for page and page-component and omitted for chrome-header and chrome-footer. get_pages, get_chrome, and get_components return the revision ids to use here (versions=N lists them).
Inputs
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
surface | required | |
documentId | optional | |
revisionId | optional | Revision to restore. Omit to undo the last change. |
contentLocale | optional |
Maps to
POST /api/v1/{locale}/{websiteId}/design/revisions→ API