v1

latestOpenAPI 3.0.02026-07-2417611.8 MB
Authoring version

Restore a versioned item - currently supported for content and assets.

Use this endpoint to restore a specific version of a content or an asset item by sending the JSON payload as the request body. The restored item will always be a draft - overwriting an existing one or creating a new one. Link to the new draft is sent as a response-header Location. <br />User roles: admin, manager, editor

post/authoring/v1/versions/restore

Query parameters

projectIdstring

Optional projectId that the item belongs to.

Response

A draft version already exists for the item and was used to restore the item's version.