restorePlaylistRevision
const url = 'https://example.com/api/v1/playlists/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revisions/example/restore';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/v1/playlists/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revisions/example/restoreRestore a playlist revision into a new draft revision. Requires a content manager. Cookie-authenticated unsafe requests require X-CSRF-Token.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Cookie-backed browser requests only, and only on unsafe methods. Bearer grants never send it.
Responses
Section titled “ Responses ”Revision copied into a new draft revision
object
A restore is a new edit, not a rewind of history: the state it replaced stays in the history. Skipped items are never resurrected and never silently dropped.
object
object
object
Fullscreen Layout played for durationMs
Media lifecycle status (uploading through deleted); draft when the item points at a Layout with no published revision.
object
Screens, schedules, and campaigns that play a playlist. Populated on the detail read only, and shaped like the Layout usage read so one panel renders both.
object
object
object
object
Compact visual metadata returned by playlist list requests.
Compact visual metadata returned with playlist list rows. Playback configuration is omitted; the playlist detail read stays the source of truth for it.
object
Data Sources reached through this playlist’s items. Only IDs; null on list rows and populated on the detail read only.
object
object
On the tag list, whether the caller may apply or remove this tag.
Example
{ "data": { "playlist": { "items": [ { "fitMode": "contain", "transition": "none", "deliveryPolicy": "download", "assetType": "image" } ], "previewItems": [ { "type": "image" } ], "sourceType": "static", "tagRule": { "match": "any" } } }}Revision invalid
Dashboard authentication required
Insufficient role