Jingle Bundles
Add a jingle to a bundle
POST
https://api.tunio.ai/ v1/ jingle-bundles/ {bundle_id}/ itemsAdd 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_idRequired | string | Bundle ID |
请求体
Jingle to add
| 名称 | 类型 | 说明 |
|---|---|---|
| jingle_id | string | 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. |
| mode | string | Mode is normal (default), overlay_intro or overlay_segue. |
| title | string | 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}
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| item | object | - |
| audio_url | string | AudioURL is the CDN link to the jingle. |
| duration | integer | Duration in seconds. |
| is_active | boolean | IsActive is false for a jingle the rotation skips. |
| jingle_id | string | JingleID is the jingle file (see GET /v1/jingles). |
| mode | string | Mode is normal, overlay_intro or overlay_segue. |
| title | string | Title is the jingle's title inside the bundle. |
| success | boolean | - |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| 名称 | 类型 | 说明 |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |