检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
2/{project_id}/tasks/{task_id}/listpathtree 响应示例 状态码: 200 Request succeeded! { "info" : [ { "file_name" : ".LAST_RELEASE", "file_path"
https://{endpoint}/v2/{project_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "info" : [ { "template_id" : "9698e0cb9d2441c3bd8cec5f8641696e"
LAST_RELEASE", "checkbox_status" : "all" } ] } 响应示例 状态码: 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
https://{endpoint}/v2/{project_id}/ruleset/{ruleset_id}/rules 响应示例 状态码: 200 Request succeeded! { "info" : [ { "rule_language" : "cpp", "rule_id" : "1614"
tasks/2b31ed520xxxxxxebedb6e57xxxxxxxx/stop 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
DELETE https://{endpoint}/v2/tasks/{task_id} 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
https://{endpoint}/v3/{project_id}/tasks/{task_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "total" : 1, "data" : [ { "template_id" : "111111xxxx3246"
https://{endpoint}/v2/{project_id}/ruleset/{ruleset_id} 响应示例 状态码: 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}/tasks/{task_id}/branches 响应示例 状态码: 200 Request succeeded! { "branchTasks" : [ { "taskId" : "11223344xxxxxxxx11223344xxxxxxx1"
包年/包月 包年/包月套餐说明 代码检查服务采用包年/包月、并发扩展计费模式,提供基础版、专业版套餐,以满足不同规模用户的使用需求。并支持安全增强能力、并发扩展能力叠加。 不同版本套餐中,提供的功能特性及资源规格略有不同,详情请参见表1。 代码检查资源扩展包:在CodeArts或CodeArts
"customImage", "value" : "xxxx" } ] } 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
请求示例 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"
xx", "if_use" : "1", "status" : "1" } ] 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
"363540xxxxxxxx5105099944xxxxxxxx", "defect_status" : "1" } 响应示例 状态码: 200 Request succeeded! null 状态码: 400 Bad Request { "error_code" : "CC.00000000", "error_msg"
https://{endpoint}/v3/{project_id}/rulesets 响应示例 状态码: 200 Request succeeded! { "info" : [ { "template_id" : "9698e0cb9d2441c3bd8cec5f8641696e"
"8139,8138", "uncheck_ids" : "1101,1102" } 响应示例 状态码: 201 Request succeeded! { "template_id" : "c53417a4804f45eba9c11991131c9e79" } 状态码: 400
s/2b31ed520xxxxxxebedb6e57xxxxxxxx/progress 响应示例 状态码: 200 Request succeeded! { "task_status" : 0, "progress" : { "ratio" : "50%",