Jingle Bundles

Add a jingle to a bundle

POST
https://api.tunio.ai/v1/jingle-bundles/{bundle_id}/items

Add a jingle of the caller's library (GET /v1/jingles, or the jingle_id of a completed generation request) to a bundle. Jingles longer than 60 seconds are refused.

路径参数

名称类型说明
bundle_idRequiredstringBundle ID

请求体

Jingle to add

名称类型说明
jingle_idstring
JingleID is a jingle of the caller's library (GET /v1/jingles, or jingle_id of a completed generation request). A market jingle can be added by its jingle_id too, as bundle items list it.
modestring
Mode is normal (default), overlay_intro or overlay_segue.
titlestring
Title overrides the jingle's title inside the bundle.
请求示例
01{
02 "jingle_id": "6f1526a5-405e-4447-8dc4-f4077b3f0f3c",
03 "mode": "normal",
04 "title": "Tunio radio ident"
05}

响应

名称类型说明
itemobject
-
audio_urlstring
AudioURL is the CDN link to the jingle.
durationinteger
Duration in seconds.
is_activeboolean
IsActive is false for a jingle the rotation skips.
jingle_idstring
JingleID is the jingle file (see GET /v1/jingles).
modestring
Mode is normal, overlay_intro or overlay_segue.
titlestring
Title is the jingle's title inside the bundle.
successboolean
-
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.
名称类型说明
messagestring
Message contains human readable error details.
successboolean
Success is always false for error payloads.