reorderPlaylistItems
const url = 'https://example.com/api/v1/playlists/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/order';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"itemIds":["2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/playlists/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items/order \ --header 'Content-Type: application/json' \ --data '{ "itemIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ] }'Reorder playlist items. Requires an authenticated dashboard user.
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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Every item of the playlist, in the new order.
Examplegenerated
{ "itemIds": [ "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" ]}Responses
Section titled “ Responses ”Complete item order replaced transactionally
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": { "items": [ { "fitMode": "contain", "transition": "none", "deliveryPolicy": "download", "assetType": "image" } ], "previewItems": [ { "type": "image" } ], "sourceType": "static", "tagRule": { "match": "any" } }}