Stream
Set music override
POST
https://api.tunio.ai/v1/stream/{stream_id}/overrideOverrides the current music selection with an ad-hoc dynamic filter spec (genres, BPM range, languages, instrumental, music source, collection) for an optional TTL in minutes (clamped to 10..1440, default 60). It supersedes the base music schedule until it expires or is cleared; announcements and jingles keep running. Any subset of filters may be set, but at least one is required. A manual override wins over automated (POS) ones.
路径参数
| 名称 | 类型 | 说明 |
|---|---|---|
| stream_idRequired | string | Stream ID |
请求体
Music override request
| 名称 | 类型 | 说明 |
|---|---|---|
| bpm_from | integer | - |
| bpm_to | integer | - |
| collection_uuid | string | - |
| genres | array | - |
| [item]Required | string | - |
| is_instrumental | boolean | - |
| languages | array | - |
| [item]Required | string | - |
| music_type | string | - |
| ttl_minutes | integer | - |
请求示例
01{02 "bpm_from": 0,03 "bpm_to": 0,04 "collection_uuid": "string",05 "genres": [06 "string"07 ],08 "is_instrumental": true,09 "languages": [10 "string"11 ],12 "music_type": "string",13 "ttl_minutes": 014}
响应
未为该负载提供 schema 详情。
| 名称 | 类型 | 说明 |
|---|---|---|
| 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. |