Story Playlists

Add stories to a story playlist

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

Adds 1-100 stories at the end of a manual playlist. Stories already in the playlist keep their place and are counted in added; stories that do not exist or are not available to the account are left out and counted in skipped.

路径参数

名称类型说明
uuidRequiredstringPlaylist UUID

请求体

Story UUIDs

名称类型说明
storiesarray
Story UUIDs (as in the story library): 1-100 to add, any number to remove, or every story of the playlist in its new order (up to 1000) to reorder.
[item]Requiredstring
-
请求示例
01{
02 "stories": [
03 "8f1c2d3e-4b5a-6978-8a9b-0c1d2e3f4a5b"
04 ]
05}

响应

名称类型说明
addedinteger
How many of the given stories are available to the account and are now in the playlist, counting ones that were already there (they keep their place).
skippedinteger
How many of the given stories were left out because they do not exist or are not available to the account.
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.
名称类型说明
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.
名称类型说明
messagestring
Error code or human-readable error details.
successboolean
Always false for error payloads.