{"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"},"IsDisable":{"properties":{"error":{"description":"返回错误信息","example":"error_message","type":"string"},"result":{"description":"返回结果","properties":{"disabled":{"description":"禁用标识","example":"1-已禁用","type":"integer"},"forbidden_time":{"description":"禁用时间","example":1719825595000,"type":"number"},"forbiddener":{"description":"禁用者","example":"testUser【testUser】","type":"string"},"job_id":{"description":"任务ID","example":"901878212b1a49be9c1a1054c272762a","type":"string"},"job_name":{"description":"明文名称","example":"demo","type":"string"},"reson":{"description":"禁用描述","example":"禁用任务","type":"string"}},"type":"object"},"status":{"description":"返回状态信息","example":"success","type":"string"}},"type":"object"}},"description":null,"group_id":"50626d0f704e4af3adfd875e2acffcb6","host":"cloudbuild-ext.cn-north-4.myhuaweicloud.com","id":"15bbfdbb934b4d69b2649540c4b166d8","info_version":"v3","method":"get","name":"ShowDisable","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"}},"paths":{"/v1/job/{job_id}/check/disable":{"get":{"deprecated":false,"description":"查询任务是否已禁用","operationId":"ShowDisable","parameters":[{"$ref":"#/parameters/Job_Id"}],"produces":["application/json;charset=UTF-8"],"responses":{"200":{"description":"OK","examples":{"application/json":{"error":null,"result":null,"status":"success"}},"schema":{"$ref":"#/definitions/IsDisable"}},"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":["JobManager"],"x-api-type":"open-api","x-apigateway-ratelimit":"ten_50_min","x-internel":"false","x-is-registered":"Y","x-request-examples-url-1":"GET https://{endpoint}/v1/job/901878212b1a49be9c1a1054c272762a/check/disable","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"}