查詢回調模板列表
更新時間 2023-11-09 14:59:56
最近更新時間: 2023-11-09 14:59:56
分享文章
接口功能介紹
支持錄制、截圖和審核等功能場景回調參數的分頁查詢。
接口詳情
請求方式:POST
請求路徑:/live/notify-template/query-notify-template-list
請求JSON參數
| 參數名 | 類型 | 名稱 | 是否必填 | 說明 |
|---|---|---|---|---|
| Page | int | 分頁頁碼 | 否 | 取值范圍:[1,~)分頁的頁數。不傳默認為1。 |
| PageSize | int | 分頁大小 | 否 | 每?模板數值,不傳默認為100。 |
響應JSON參數
| 參數名 | 類型 | 名稱 |
|---|---|---|
| code | int | 狀態碼 |
| message | string | 描述信息 |
| TotalCount | int | 總記錄數 |
| Result | list | 模板詳情信息 |
Result
| 參數名 | 類型 | 名稱 |
|---|---|---|
| TemplateID | string | 模板ID |
| TemplateName | string | 模板名 |
| TemplateType | string | 模板類型 |
| Description | string | 模板描述 |
| CreateTime | string | 創建時間 |
| UpdateTime | string | 修改時間 |
| Params | string | 模板參數 |
Params
| 代碼 | 類型 | 字段名稱 |
|---|---|---|
| RecordNotifyUrl | string | 錄制回調URL |
| SnapshotNotifyUrl | string | 截圖回調URL |
| IdentifyNotifyUrl | string | 審核回調URL |
| CallbackReqAuth | string | 回調鑒權開關 |
| CallbackAuthKey | string | 回調鑒權密鑰 |
示例
請求路徑://cdnapi-global.ctapi.daliqc.cn/live/notify-template/query-notify-template-list
請求JSON示例
{
"Page": 1,
"PageSize": 100
}
正常響應JSON示例
{
"TotalCount": 7,
"code": 100000,
"message": "success",
"Result": [{
"Description": "",
"CreateTime": "2022-09-05 17:39:58",
"UpdateTime": "2022-10-20 15:08:56",
"TemplateName": "tes1t11",
"Params": {
"CallbackAuthKey": "dsadasdsads",
"RecordNotifyUrl": "daliqc.cn",
"IdentifyNotifyUrl": "daliqc.cn1",
"CallbackReqAuth": "on",
"SnapshotNotifyUrl": "daliqc.cn2"
},
"TemplateType": "notify",
"TemplateID": "1c731f3010c9165e0aeea7"
}, {
"Description": "wwwwwwww",
"CreateTime": "2022-10-01 14:02:29",
"UpdateTime": "2022-10-01 14:02:29",
"TemplateName": "test1001",
"Params": {
"RecordNotifyUrl": "daliqc.cn3"
},
"TemplateType": "notify",
"TemplateID": "e22a1655"
}]
}