查询直播质量检测模板列表
GET
https://live.jdcloud-api.com/v1/qualityDetectionCustoms
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
pageNum | Integer | False | 1 | 页码 - 取值范围 [1, 100000] |
pageSize | Integer | False | 10 | 分页大小 - 取值范围 [10, 100] |
filters | Filter[ ] | False | 质量检测模板查询过滤条件 - name: template 质量检测自定义名称 - value: 如果参数为空,则查询全部 |
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
name | String | True | 过滤条件的名称 | |
operator | String | False | 过滤条件的操作符,默认eq | |
values | String[ ] | True | 过滤条件的值 |
名称 | 类型 | 描述 |
---|---|---|
result | Result | |
requestId | String | requestId |
名称 | 类型 | 描述 |
---|---|---|
pageNumber | Integer | 当前页码 |
pageSize | Integer | 每页数量 |
totalCount | Integer | 查询总数 |
qualityDetectionTemplates | QualityDetectionTemplate[ ] | 质量检测模板集合 |
名称 | 类型 | 描述 |
---|---|---|
template | String | 模板名称 |
modules | String | 检测项列表 |
返回码 | 描述 |
---|---|
200 | OK |
400 | Invalid parameter |
401 | Authentication failed |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
GET
https://live.jdcloud-api.com/v1/qualityDetectionCustoms?filters.1.name=template&filters.1.values.1=yourQualityDetectionTemplate
{ "requestId": "bgvmivir54gddpgi764se9f4kfr7ge41", "result": { "pageNumber": 1, "pageSize": 10, "qualityDetectionTemplates": [ { "modules": [ "blackScreen", "contrast" ], "templateName": "my qd template" } ], "totalCount": 1 } }