列舉源。
介面說明
調用 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"
}
]
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。