Announcements
List announcement backgrounds
GET
https://api.tunio.ai/ v1/ announcements/ backgroundsList the music beds an announcement can be mixed over. Pass background_id as background_uuid when creating or updating an announcement. With tts_duration, only backgrounds long enough for speech of that many seconds (plus the announcement padding) are returned.
查询参数
| 名称 | 类型 | 说明 |
|---|---|---|
| title | string | Title filter (substring, case-insensitive) |
| tts_duration | string | Speech length in seconds the background must cover |
| page | string | Page number |
| per_page | string | Items per page (max 100) |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| items | array | Items contains backgrounds, newest first. |
| [item]Required | object | - |
| pagination | object | - |
| page | integer | Page is the current page index starting from 1. |
| per_page | integer | PerPage is the requested page size. |
| total | integer | Total is overall number of matching records. |
| 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. |