代码检查 CODEARTS CHECK-任务配置屏蔽目录:请求示例

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

请求示例

任务配置屏蔽目录:文件路径为.LAST_RELEASE,检查状态为all

POST https://{endpoint}/v2/{project_id}/tasks/{task_id}/config-ignorepath

{
  "ignore_path_settings" : [ {
    "file_path" : ".LAST_RELEASE",
    "checkbox_status" : "all"
  } ]
}
support.huaweicloud.com/api-codecheck/UpdateIgnorePath.html