Broadcast Music Schedule
Create music schedule slot
POST
https://api.tunio.ai/v1/broadcast-music-schedule/slotAdds a playlist to the stream music schedule
Request body
Create schedule slot request
| Name | Type | Description |
|---|---|---|
| duration_minRequired | integer | DurationMin is the schedule duration in minutes. |
| force | boolean | Force replaces conflicting schedules when true. |
| playlist_idRequired | string | Playlist is the UUID of the playlist to schedule. |
| start_atRequired | string | StartAt is the start datetime in RFC3339 format. |
| stream_idRequired | string | Stream is the UUID of the target stream. |
Request example
01{02 "duration_min": 0,03 "force": true,04 "playlist_id": "string",05 "start_at": "string",06 "stream_id": "string"07}
Responses
| Name | Type | Description |
|---|---|---|
| slot_id | string | UUID is the created schedule identifier. |
| success | boolean | Success indicates if schedule was created. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |
| Name | Type | Description |
|---|---|---|
| message | string | Message contains human readable error details. |
| success | boolean | Success is always false for error payloads. |