获取数据诊断报告 (包括用户手动触发的诊断、每天产出的周期报告、数据启动时诊断的报告)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /v2/openapi/instances/{instanceId}/data-diagnose-reports HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| instanceId |
string |
是 |
实例 ID |
airec-cn-shdjkgkeog |
| taskCreateTime |
integer |
否 |
创建任务的时间 |
1566489600 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
8B90B646-1678-41A3-B23F-EAC6587B0E48 |
| result |
object |
返回结果 |
{ "todayTimeLimit":8, "totalCount":10, "reports":[ { "diagnoseLevel":"low | medium | high", "startTime":1566489600, "endTime":1566489600, "taskCreateTime":1566489600, "taskSource":"manual | cycle | firstRun", "total":{ "itemCount":100, "userCount":100, "bhvCount":100 }, "details":[ { "key":"", "level":"error | warn | info", "errorCount":10, "errorPercent":10, "sampleEnabled":true; } ] }, { "diagnoseLevel":"low | medium | high", "startTime":1566489600, "endTime":1566489600, "taskCreateTime":1566489600, "taskSource":"manual | cycle | firstRun", "total":{ "itemCount":100, "userCount":100, "bhvCount":100 }, "details":[ { "key":"", "level":"error | warn | info", "errorCount":10, "errorPercent":10, "sampleEnabled":true; } ] } ] } |
示例
正常返回示例
JSON格式
{
"requestId": "8B90B646-1678-41A3-B23F-EAC6587B0E48",
"result": {
"test": "test",
"test2": 1
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。