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. A Tunio jingle market jingle already in another bundle can be added by its jingle_id from that bundle's items. Jingles longer than 60 seconds are refused. mode sets how the jingle goes on air: normal (between songs), overlay_intro (over the start of the next song) or overlay_segue (over the end of the current song).

路径参数

名称类型说明
bundle_idRequiredstringBundle ID

请求体

Jingle to add

名称类型说明
jingle_idstring
Jingle to add, required: a jingle of the caller's library (GET /v1/jingles, or the jingle_id of a completed generation request). A jingle from the Tunio jingle market (added to some bundle in the control panel) can be added to another bundle by the jingle_id that bundle's items show for it.
modestring
How the jingle goes on air: normal (default) plays it as a track of its own between songs; overlay_intro plays it over the start of the next song, overlay_segue over the transition at the end of the current song.
titlestring
Title of the jingle inside the bundle. Defaults to the jingle's own title.
请求示例
01{
02 "jingle_id": "string",
03 "mode": "normal",
04 "title": "Tunio radio ident"
05}

响应

名称类型说明
itemobject
The added bundle item.
audio_urlstring
CDN link to the jingle.
durationinteger
Length in seconds.
is_activeboolean
false for a jingle the rotation skips.
jingle_idstring
Jingle file ID (see GET /v1/jingles). A jingle from the Tunio jingle market, added in the control panel, is listed here but not by GET /v1/jingles.
modestring
How the jingle goes on air: normal plays it as a track of its own between songs; overlay_intro plays it over the start of the next song, overlay_segue over the transition at the end of the current song (the music ducks under it).
titlestring
Jingle title inside the bundle.
successboolean
Always true.
名称类型说明
messagestring
Error code.
successboolean
Always false.
valueinteger
Maximum jingle length in seconds (60), set with file_duration_exceeds_limit.
名称类型说明
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.