huawei-cloud-api-definitions-CodeArtsBuild 0.1.20250926

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"CheckWebhookUrlRequestBody":{"description":"检查webhook地址","properties":{"job_id":{"description":"任务ID","example":"f9d6c8466d614a9788e9a0acf6c15f46","type":"string"},"notice_type":{"description":"通知的类型,分为消息,邮件,钉钉,飞书和微信","example":"DING_TALK","type":"string"},"webhook_url":{"description":"Webhook地址","example":"https://oapi.dingtalk.com/robot/send?access_token=xxx","type":"string"}},"required":["job_id","notice_type","webhook_url"],"type":"object"},"DefaultResponseBody":{"properties":{"error":{"description":"返回错误信息","example":"error_message","type":"string"},"status":{"description":"返回状态信息","example":"success","type":"string"}},"type":"object"},"ErrorResponseBody":{"properties":{"error_code":{"description":"错误码","example":"CB.00060200","type":"string"},"error_msg":{"description":"错误描述","example":"Invalid param","type":"string"}},"type":"object"}},"description":null,"group_id":"50626d0f704e4af3adfd875e2acffcb6","host":"cloudbuild-ext.cn-north-4.myhuaweicloud.com","id":"bee016bde2924a7fbd883250d4cd0dc2","info_version":"v3","method":"post","name":"CheckWebhookUrl","parameters":{},"paths":{"/v1/job/check/webhook-url":{"post":{"deprecated":false,"description":"检查webhook地址参数","operationId":"CheckWebhookUrl","parameters":[{"description":"请求体","in":"body","name":"CheckWebhookUrlRequestBody","required":true,"schema":{"$ref":"#/definitions/CheckWebhookUrlRequestBody"}}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"error":null,"status":"success"}},"schema":{"$ref":"#/definitions/DefaultResponseBody"}},"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":"检查webhook地址参数","tags":["JobManager"],"x-api-type":"open-api","x-apigateway-ratelimit":"five_50_min","x-internel":"false","x-is-registered":"Y","x-request-examples-text-1":"{\"job_id\":\"2f211929d0c543feb38824a665ad7fcb\",\"notice_type\":\"DING_TALK\",\"webhook_url\":\"https://oapi.dingtalk.com/robot/send?access_token=\"}","x-request-examples-url-1":"POST https://{endpoint}/v1/job/check/webhook-url","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":"检查webhook地址参数","tags":"构建任务管理","uri":null,"version":"2.0"}