huawei-cloud-api-definitions-CodeArtsBuild 0.1.20240204

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"ErrorResponseBody":{"properties":{"error_code":{"description":"错误码","example":"CB.00060200","type":"string"},"error_msg":{"description":"错误描述","example":"Invalid param","type":"string"}},"type":"object"},"StopJobRequestBody":{"description":"停止构建任务接口请求体","properties":{"build_no":{"description":"构建任务的构建编号,从1开始,每次构建递增1","example":32,"type":"string"},"job_id":{"description":"构建任务ID;编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串","example":"f5af662119404ad187437cd272b5099b","type":"string"}},"required":["job_id","build_no"],"type":"object"},"StopJobResponseBody":{"properties":{"result":{"description":"构建停止结果","type":"boolean"}},"title":"stopJobResponseBody","type":"object"}},"description":null,"group_id":"50626d0f704e4af3adfd875e2acffcb6","host":"cloudbuild-ext.cn-north-4.myhuaweicloud.com","id":"da6dd2898414432e98f340024586d91a","info_version":"v3","method":"post","name":"StopJob","parameters":{"X-Auth-Token":{"description":"用户Token。\n通过调用IAM服务接口获取\n(响应消息头中X-Subject-Token的值)。\n不支持租户全局token,请使用scope为project的region级token。","in":"header","maxLength":100000,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXX..."}},"paths":{"/v3/jobs/stop":{"post":{"deprecated":false,"description":"停止构建任务(待下线)","operationId":"StopJob","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"description":"body","in":"body","name":"StopJobRequestBody","required":true,"schema":{"$ref":"#/definitions/StopJobRequestBody"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"result":true}},"schema":{"$ref":"#/definitions/StopJobResponseBody"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponseBody"}},"401":{"description":"Unauthorized","schema":{"$ref":"#/definitions/ErrorResponseBody"}},"403":{"description":"Forbidden","schema":{"$ref":"#/definitions/ErrorResponseBody"}},"404":{"description":"Not Found","schema":{"$ref":"#/definitions/ErrorResponseBody"}},"500":{"description":"Internal Server Error","schema":{"$ref":"#/definitions/ErrorResponseBody"}}},"security":[{"apig-auth-iam":[]}],"summary":"停止构建任务(待下线)","tags":["Offline"],"x-api-type":"open-api","x-apigateway-ratelimit":"cloudbuild_ext","x-internel":"false","x-is-registered":"Y","x-request-examples-text-1":"{\n  \"job_id\":\"f9d6c8466d614a9788e9a0acf6c15f46\",\n  \"build_no\":\"20\"\n}","x-request-examples-url-1":"POST https://{endpoint}/v3/jobs/Stop","x-support-sdk":"Y"}}},"product_short":"CodeArtsBuild","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"APP":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-app-optional":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-opt":{"access-auth-type":"optional"},"x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"}},"summary":"停止构建任务(待下线)","tags":"编译构建(待下线)","uri":null,"version":"2.0"}