呼叫ListLiveRecordTemplates取得即時錄製範本清單。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
ice:ListLiveRecordTemplates |
*All Resource
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| Keyword |
string |
否 |
搜尋關鍵字,可以根據範本 ID 和名稱搜尋。名稱支援模糊搜尋。 |
test template |
| Type |
string |
否 |
範本類型。 枚舉值:
|
custom |
| TemplateIds |
array |
否 |
||
|
string |
否 |
範本 ID。 |
69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 |
|
| PageNo |
integer |
否 |
分頁的頁碼。最小值:1。預設值:1。 |
1 |
| PageSize |
integer |
否 |
分頁大小。1~100。預設值 10。 |
10 |
| SortBy |
string |
否 |
排序參數,預設按建立時間倒序。 枚舉值:
|
desc |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
Schema of Response |
||
| RecordTemplateList |
array<object> |
錄製範本清單。 |
|
|
array<object> |
錄製範本。 |
||
| Name |
string |
範本名稱。 |
test template |
| Type |
string |
範本類型。 |
custom |
| LastModified |
string |
最後修改時間。 |
2022-07-20T03:26:36Z |
| TemplateId |
string |
範本 ID。 |
69e1f9fe-1e97-11ed-ba64-0c42a1b73d66 |
| RecordFormatList |
array<object> |
錄製格式清單。 |
|
|
object |
錄製格式。 |
||
| Format |
string |
The output file format. |
m3u8 |
| SliceDuration |
integer |
The duration of a single segment. Unit: seconds. |
30 |
| OssObjectPrefix |
string |
The name of the recording file that is stored in Object Storage Service (OSS). |
record/{JobId}/{Sequence}_{EscapedStartTime}_{EscapedEndTime} |
| SliceOssObjectPrefix |
string |
The name of the TS segment. |
record/{JobId}/{UnixTimestamp}_{Sequence} |
| CycleDuration |
integer |
The duration of the recording cycle. Unit: seconds. |
21600 |
| CreateTime |
string |
建立時間。 |
2022-07-20T02:48:58Z |
| RequestId |
string |
請求 ID。 |
BEA98A0C-7870-15FE-B96F-8880BB600A2C |
| TotalCount |
integer |
總記錄數。 |
5 |
| PageNo |
integer |
分頁的頁碼。 |
1 |
| PageSize |
integer |
分頁大小。 |
10 |
| SortBy |
string |
排序參數,預設按建立時間倒序。 枚舉值:
|
desc |
樣本
正常返回樣本
JSON格式
{
"RecordTemplateList": [
{
"Name": "test template",
"Type": "custom",
"LastModified": "2022-07-20T03:26:36Z",
"TemplateId": "69e1f9fe-1e97-11ed-ba64-0c42a1b73d66",
"RecordFormatList": [
{
"Format": "m3u8",
"SliceDuration": 30,
"OssObjectPrefix": "record/{JobId}/{Sequence}_{EscapedStartTime}_{EscapedEndTime}",
"SliceOssObjectPrefix": "record/{JobId}/{UnixTimestamp}_{Sequence}",
"CycleDuration": 21600
}
],
"CreateTime": "2022-07-20T02:48:58Z"
}
],
"RequestId": "BEA98A0C-7870-15FE-B96F-8880BB600A2C",
"TotalCount": 5,
"PageNo": 1,
"PageSize": 10,
"SortBy": "desc"
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。