Announcement Schedules
Create an announcement schedule
POST
https://api.tunio.ai/v1/announcements/schedulesCreate a new schedule for an announcement
Request body
Schedule data
| Name | Type | Description |
|---|---|---|
| announcementRequired | string | Announcement is the UUID of the announcement to schedule. |
| intervalRequired | integer | Interval is the repeat period in minutes. |
| streamRequired | string | Stream is the UUID of the stream that will play the announcement. |
Request example
01{02 "announcement": "123e4567-e89b-12d3-a456-426614174000",03 "interval": 60,04 "stream": "456e7890-e89b-12d3-a456-426614174000"05}
Responses
| Name | Type | Description |
|---|---|---|
| schedule | object | Schedule returns the created schedule details. |
| announcement | object | Announcement contains announcement meta referenced by the schedule. |
| interval | integer | Interval is the repeat period in minutes. |
| stream | object | Stream describes the stream where announcement is played. |
| uuid | string | UUID uniquely identifies the schedule entry. |
| success | boolean | Success indicates the 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. |