列举源。
接口说明
调用 ListSources 接口列举源信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ice:ListSources |
none |
*全部资源
|
无 | 无 |
请求语法
POST / HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SourceLocationName |
string |
否 |
源位置名称。 |
MySourceLocation |
| SourceType |
string |
否 |
源类型。 |
vodSource |
| SourceName |
string |
否 |
源名称。 |
MyVodSource |
| FilterState |
boolean |
否 |
是否过滤删除状态。 |
true |
| PageNo |
string |
否 |
当前页码。默认值为 1。 |
1 |
| PageSize |
string |
否 |
分页大小 |
10 |
| SortByModifiedTime |
string |
否 |
按照修改时间排序。 |
desc |
| SortBy |
string |
否 |
排序参数,默认根据创建时间倒序 |
asc |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID |
xxx-xxxx-xxxxx-xxxx |
| TotalCount |
integer |
本次请求条件下的数据总量。 |
100 |
| PageNo |
integer |
分页的页码。默认值:1。 |
1 |
| PageSize |
integer |
单页数据个数,默认为 20,最大 100。 |
20 |
| SourceList |
array |
源列表。 |
|
| ChannelAssemblySource |
源信息。 |
示例
正常返回示例
JSON格式
{
"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"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。