Lists the programs in a specified channel.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListPrograms |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProgramName |
string |
No |
The name of the program. |
program1 |
| ChannelName |
string |
Yes |
The name of the channel. |
MyChannel |
| PageNo |
string |
No |
The page number. Default value: 1. |
1 |
| PageSize |
string |
No |
The number of entries per page. Default value: 20. Valid values: 1 to 100. |
10 |
| SortBy |
string |
No |
The sorting order. Default: descending by creation time. Valid values:
|
desc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema. |
||
| RequestId |
string |
Request ID |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
Total number of programs. |
100 |
| Programs |
array |
The programs. |
|
| ChannelAssemblyProgram |
Program details. |
||
| 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": 100,
"Programs": [
{
"GmtCreate": "2024-04-02T00:58:19Z\n",
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"AdBreaks": [
{
"TimeSignalSettings": "{\"segmentationEventID\":0,\"segmentationUPIDType\":14,\"segmentationUPID\":\"upid\",\"segmentationTypeID\":48,\"segmentNumber\":0,\"segmentsExpected\":0,\"subSegmentNumber\":1,\"subSegmentsExpected\":0}\n",
"OffsetMillis": 1000,
"ChannelName": "MyChannel",
"SourceLocationName": "MySourceLocation",
"SpliceInsertSettings": "{\"AvailNumber\":0,\"AvailExpected\":0,\"SpliceEventID\":1,\"UniqueProgramID\":0}\n",
"SourceName": "MyAdSource",
"ProgramName": "program_name\n",
"MessageType": "SPLICE_INSERT"
}
],
"SourceType": "vodSource",
"Transition": "{\"Type\": \"RELATIVE\", \"RelativePosition\": \"AFTER_PROGRAM\", \"RelativeProgram\": \"program2\"}\n",
"GmtModified": "2024-04-02T00:58:19Z\n",
"SourceName": "MySource",
"ClipRange": "{StartOffsetMillis: 213123, EndOffsetMillis: 213134}\n",
"Arn": "acs:ims:mediaweaver:::program/myChannel/MyProgram\n",
"ProgramName": "program1"
}
],
"PageNo": 1,
"PageSize": 10
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.