代码检查 CODEARTS CHECK-查询缺陷详情的统计:响应示例

时间:2023-11-13 14:37:45

响应示例

状态码: 200

Request succeeded!

{
  "severity" : {
    "critical" : 120,
    "major" : 877,
    "minor" : 79,
    "suggestion" : 3
  },
  "status" : {
    "unresolved" : 877,
    "resolved" : 79,
    "dismissed" : 5
  }
}

状态码: 400

Bad Request

{
  "error_code" : "CC.00000000",
  "error_msg" : "网络繁忙,请稍后再试"
}

状态码: 401

Unauthorized

{
  "error_code" : "CC.00000003",
  "error_msg" : "认证信息过期"
}
support.huaweicloud.com/api-codecheck/ShowTaskDefectsStatisticV2.html