添加直播质量检测模板
POST
https://live.jdcloud-api.com/v1/qualityDetectionCustoms:template
名称 | 类型 | 是否必需 | 默认值 | 描述 |
---|---|---|---|---|
template | String | True | 模板名称。长度不超过128个字符。UTF-8编码 |
|
modules | String[ ] | True | 检测项列表。取值范围: BlackScreen - 黑屏 PureColor - 纯色 ColorCast - 偏色 FrozenFrame - 静帧 Brightness - 亮度 Contrast - 对比度 |
名称 | 类型 | 描述 |
---|---|---|
requestId | String | requestId |
返回码 | 描述 |
---|---|
200 | OK |
400 | Invalid parameter |
401 | Authentication failed |
404 | Not found |
500 | Internal server error |
503 | Service unavailable |
POST
https://live.jdcloud-api.com/v1/qualityDetectionCustoms:template
{ "modules": [ "blackScreen", "contrast" ], "template": "my qd template" }
{ "requestId": "bgvmivir54gddpgi764se9f4kfr7ge41" }