HOC SiteDokümantasyon

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 · Grup: 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).

Girdiler

FieldRequiredNotes
websiteIdrequired
surfacerequired
documentIdoptional
revisionIdoptionalRevision to restore. Omit to undo the last change.
contentLocaleoptional

Eşlendiği uçlar

  • POST /api/v1/{locale}/{websiteId}/design/revisions → API

İlgili