检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
https://{endpoint}/v2/{project_id}/tasks/{task_id}/checkrecord 响应示例 状态码: 200 Request succeeded! { "total" : 100, "data" : [ { "check_time" : "2020-02-20
LAST_RELEASE", "checkbox_status" : "all" } ] } 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
https://{endpoint}/v2/{project_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "info" : [ { "template_id" : "9698e0cb9d2441c3bd8cec5f8641696e"
k_id}/ruleset/{ruleset_id}/check-parameters 响应示例 状态码: 200 Request succeeded! { "total" : 1, "data" : [ { "check_id" : 0, "name" :
2/{project_id}/tasks/{task_id}/listpathtree 响应示例 状态码: 200 Request succeeded! { "info" : [ { "file_name" : ".LAST_RELEASE", "file_path"
20xxxxxxebedb6e57xxxxxxxx/defects-statistic 响应示例 状态码: 200 Request succeeded! { "severity" : { "critical" : 120, "major" : 877,
"on", "cfg_value" : "msbuild" } ] } 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
tasks/2b31ed520xxxxxxebedb6e57xxxxxxxx/stop 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
"customImage", "value" : "xxxx" } ] } 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
https://{endpoint}/v2/{project_id}/ruleset/{ruleset_id}/rules 响应示例 状态码: 200 Request succeeded! { "info" : [ { "rule_language" : "cpp", "rule_id" : "1614"
请求示例 GET https://{endpoint}/v2/{task_id}/tasks 响应示例 状态码: 200 Request succeeded! { "tasks" : [ { "task_id" : "435b58e********d01c94a6",
https://{endpoint}/v2/{project_id}/tasks/{task_id}/log-detail 响应示例 状态码: 200 Request succeeded! { "param_info" : { "url" : "git@xxxxxx_only00001/file.git"
https://{endpoint}/v2/{project_id}/ruleset/{ruleset_id} 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
https://{endpoint}/v3/{project_id}/tasks/{task_id}/branches 响应示例 状态码: 200 Request succeeded! { "branchTasks" : [ { "taskId" : "11223344xxxxxxxx11223344xxxxxxx1"
https://{endpoint}/v3/{project_id}/tasks/{task_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "total" : 1, "data" : [ { "template_id" : "111111xxxx3246"
DELETE https://{endpoint}/v2/tasks/{task_id} 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
表3 响应Body参数 参数 参数类型 描述 [数组元素] Array<Array<TaskRulesetInfo>> Request succeeded! 表4 TaskRulesetInfo 参数 参数类型 描述 template_id String 规则集id language
xx", "if_use" : "1", "status" : "1" } ] 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
String 严重问题数 minor_count String 一般问题数 suggestion_count String 提示问题数 is_access String 门禁质量是否通过 trigger_type String 任务触发方式 file_duplication_ratio String
https://{endpoint}/v3/{project_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "info" : [ { "template_id" : "9698e0cb9d2441c3bd8cec5f8641696e"