Story Playlists

Delete a story playlist

DELETE
https://api.tunio.ai/v1/story-playlists/{uuid}

Deletes the playlist, with its list of stories. A playlist still in use is not deleted: while a content schedule slot of any stream airs it, the answer is 409 story_playlist_in_schedule (slots: how many); while a music playlist holds it as an item, 409 story_playlist_in_playlists (items: how many). Remove those slots first (DELETE /v1/stream-schedule/content/slot/{slot_id}, or PUT /v1/stream-schedule/content/{stream_id} without them) and take the playlist out of those music playlists in the control panel, then delete again. Nothing is deleted on a 409.

路径参数

名称类型说明
uuidRequiredstringPlaylist UUID

响应

名称类型说明
successboolean
Always true on success.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.
名称类型说明
itemsinteger
story_playlist_in_playlists: how many music playlist items hold the playlist.
messagestring
story_playlist_in_schedule or story_playlist_in_playlists.
slotsinteger
story_playlist_in_schedule: how many content schedule slots air the playlist.
successboolean
Always false.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.