Lists sources in MediaWeaver.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSources |
none |
*All Resource
|
None | None |
Request syntax
POST / HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SourceLocationName |
string |
No |
The name of the source location. |
MySourceLocation |
| SourceType |
string |
No |
The source type. Valid values: vodSource and liveSource. |
vodSource |
| SourceName |
string |
No |
The name of the source. |
MyVodSource |
| FilterState |
boolean |
No |
Whether to ignore sources marked as deleted. |
true |
| PageNo |
string |
No |
The page number. Default value: 1. |
1 |
| PageSize |
string |
No |
The number of entries per page. |
10 |
| SortByModifiedTime |
string |
No |
Sort order by modification time. Valid values: asc and desc. |
desc |
| SortBy |
string |
No |
Sort order. Default: descending by creation time. Valid values: asc and desc. |
asc |
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. |
100 |
| 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. |
20 |
| SourceList |
array |
The sources. |
|
| ChannelAssemblySource |
The source information. |
Examples
Success response
JSON format
{
"RequestId": "xxx-xxxx-xxxxx-xxxx",
"TotalCount": 100,
"PageNo": 1,
"PageSize": 20,
"SourceList": [
{
"GmtCreate": "2022-10-20T07:15:51Z",
"SourceLocationName": "MySourceLocation\n",
"State": 0,
"SourceType": "vodSource",
"GmtModified": "2024-11-07T10:12:01Z\n",
"SourceName": "MyVodSource\n",
"HttpPackageConfigurations": "[{\n\t\"sourceGroupName\": \"mySourceGroup-1\",\n\t\"relativePath\": \"group1/hls.m3u8\",\n\t\"packageType\": \"hls\"\n}]",
"Arn": "acs:ims:mediaweaver:::vodSource/mySourceLocation/mySource\n"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.