huawei-cloud-api-definitions-CodeArtsBuild 0.1.20240113

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"},"UpdateNoticeRequestBody":{"description":"更新消息接口返回体","properties":{"enabled_event_type_names":{"description":"开启的通知的种类","example":"example","items":{"type":"string"},"type":"array"},"notice_type":{"description":"通知类型","example":"message","type":"string"},"param_config":{"description":"通知参数配置","example":"param_example","type":"string"}},"required":["notice_type","enabled_event_type_names"],"type":"object"},"UpdateNoticeResponseBody":{"properties":{"error":{"description":"返回错误信息","example":"error_message","type":"string"},"result":{"description":"返回错误信息","example":"","type":"string"},"status":{"description":"返回状态信息","example":"success","type":"string"}},"type":"object"}},"description":null,"group_id":"50626d0f704e4af3adfd875e2acffcb6","host":"cloudbuild-ext.cn-north-4.myhuaweicloud.com","id":"1e32e5228f8d4b83a29f3cc49b86a2b6","info_version":"v3","method":"post","name":"UpdateNotice","parameters":{"Job_Id":{"description":"构建的任务ID;\n编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串。","in":"path","name":"job_id","pattern":"^[0-9a-z]{32}$","required":true,"type":"string","x-example":"901878212b1a49be9c1a1054c272762a"},"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/notice/{job_id}/update":{"post":{"deprecated":false,"description":"更新通知","operationId":"UpdateNotice","parameters":[{"$ref":"#/parameters/X-Auth-Token"},{"$ref":"#/parameters/Job_Id"},{"description":"body","in":"body","name":"UpdateNoticeRequestBody","required":true,"schema":{"$ref":"#/definitions/UpdateNoticeRequestBody"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"error":null,"result":{"job_id":"db8467d972cc47f7a1bd2a3a3e77596a"},"status":"success"}},"schema":{"$ref":"#/definitions/UpdateNoticeResponseBody"}},"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":["CodeArtsBuild"],"x-api-type":"open-api","x-apigateway-ratelimit":"cloudbuild_ext","x-internel":"false","x-is-registered":"Y","x-request-examples-text-1":"{\n    \"notice_type\": \"MESSAGE\",\n    \"enabled_event_type_names\": [\n        \"updateConfigJob\",\n        \"deleteJob\",\n        \"forbiddenJob\"\n    ]\n}","x-request-examples-url-1":"POST https://{endpoint}/v3/jobs/notice/48c66c6002964721be537cdc6ce0297b/update","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"}