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.
路径参数
| 名称 | 类型 | 说明 |
|---|---|---|
| uuidRequired | string | Playlist UUID |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| success | boolean | Always true on success. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| items | integer | story_playlist_in_playlists: how many music playlist items hold the playlist. |
| message | string | story_playlist_in_schedule or story_playlist_in_playlists. |
| slots | integer | story_playlist_in_schedule: how many content schedule slots air the playlist. |
| success | boolean | Always false. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Error code or human-readable error details. |
| success | boolean | Always false for error payloads. |