Queries the program schedules of a MediaWeaver channel.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSchedules |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ChannelName |
string |
Yes |
The name of the channel. |
MyChannel |
| WindowDurationSeconds |
integer |
Yes |
The time window, in seconds, for the program schedule. |
14400 |
| PageNo |
integer |
No |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
Request ID |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
The total number of entries returned. |
5 |
| Programs |
array |
The program schedule. |
|
| ChannelAssemblyScheduleData |
The schedule information. |
||
| PageNo |
integer |
The page number. Default value: 1. |
1 |
| PageSize |
integer |
The number of entries per page. Default value: 20. Valid values: 1 to 100. |
10 |
Examples
Success response
JSON format
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"TotalCount": 5,
"Programs": [
{
"EntryType": "program",
"SourceLocationName": "MySourceLocation\n",
"AdBreaks": [
{
"OffsetMillis": "100000",
"TimeSignalSettings": "{\"segmentationEventID\":0,\"segmentationUPIDType\":14,\"segmentationUPID\":\"upid\",\"segmentationTypeID\":48,\"segmentNumber\":0,\"segmentsExpected\":0,\"subSegmentNumber\":1,\"subSegmentsExpected\":0}\n",
"SourceLocationName": "MySourceLocation",
"SpliceInsertSettings": "{\"AvailNumber\":0,\"AvailExpected\":0,\"SpliceEventID\":1,\"UniqueProgramID\":0}\n",
"SourceName": "MySource",
"MessageType": "SPLICE_INSERT"
}
],
"SourceType": "vodSource",
"SourceName": "MySource",
"ApproximateDurationSeconds": 100000,
"ApproximateStartTime": "1989128002313",
"ProgramName": "program1"
}
],
"PageNo": 1,
"PageSize": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.