huawei-cloud-api-definitions-CodeArtsBuild 0.1.20250926

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"},"SaveTemplateUsedInfo":{"properties":{"error":{"description":"返回错误信息","example":"error_message","type":"string"},"result":{"description":"成功","example":"success","type":"string"},"status":{"description":"返回状态信息","example":"success","type":"string"}},"type":"object"},"SaveTemplateUsedInfoRequestBody":{"description":"保存模板使用记录接口请求体","properties":{"job_id":{"description":"构建任务ID;编辑构建任务时,浏览器URL末尾的32位数字、字母组合的字符串","example":"f5af662119404ad187437cd272b5099b","type":"string"},"template_id":{"description":"构建模版ID","example":"5e8d9373809c36e3c7f6f5d1","type":"string"}},"required":["job_id","template_id"],"type":"object"}},"description":null,"group_id":"50626d0f704e4af3adfd875e2acffcb6","host":"cloudbuild-ext.cn-north-4.myhuaweicloud.com","id":"b27d3ed10b604980925fd276621f76f4","info_version":"v3","method":"post","name":"SaveTemplateUsedInfo","parameters":{},"paths":{"/v1/template/used-info":{"post":{"deprecated":false,"description":"保存模板使用记录","operationId":"SaveTemplateUsedInfo","parameters":[{"description":"body","in":"body","name":"SaveTemplateUsedInfoRequestBody","required":true,"schema":{"$ref":"#/definitions/SaveTemplateUsedInfoRequestBody"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"error":null,"result":"success","status":"success"}},"schema":{"$ref":"#/definitions/SaveTemplateUsedInfo"}},"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":["TemplateManager"],"x-api-type":"open-api","x-apigateway-ratelimit":"five_50_min","x-internel":"false","x-is-registered":"Y","x-request-examples-text-1":"{\"template_id\":\"00013\",\"job_id\":\"4564dbb3a6ca4b7daa6c4befb76b1734\"}","x-request-examples-url-1":"POST https://{endpoint}/v1/template/used-info","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"}