huawei-cloud-api-definitions-COC 0.1.20251024

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"BaseQueryAssessTaskListResponse":{"description":"分页查询评估任务结果","properties":{"data":{"properties":{"result":{"description":"评估任务数据列表","items":{"$ref":"#/definitions/QueryAssessTaskResponse"},"maxItems":100,"minItems":0,"type":"array"},"total":{"description":"总任务数","example":1,"exclusiveMaximum":true,"minimum":0,"type":"integer"}},"type":"object"}},"type":"object"},"ErrorRsp":{"description":"失败时返回的错误对象","properties":{"error_code":{"description":"错误码","maxLength":36,"minLength":8,"type":"string"},"error_msg":{"description":"错误描述","maxLength":512,"minLength":2,"type":"string"}},"required":["error_code","error_msg"]},"QueryAssessTaskResponse":{"description":"评估任务数据","properties":{"application_id":{"description":"应用ID","example":"649aac904e1324552ce31111","maxLength":64,"minLength":1,"type":"string"},"application_name":{"description":"应用名称","example":"COC-CDR","maxLength":64,"minLength":1,"type":"string"},"assess_report_id":{"description":"评估报告编号ID","example":"ASR202411051051453511e385b1babb047658266007480ed41ce","maxLength":64,"minLength":0,"type":"string"},"create_time":{"description":"创建时间","format":"int64","type":"integer"},"creator":{"description":"创建人ID","example":"a293d277b3ff46db8af067eec48f1111","maxLength":64,"minLength":1,"type":"string"},"creator_name":{"description":"创建人名称","example":"COC-CDR","maxLength":64,"minLength":0,"type":"string"},"id":{"description":"唯一标识ID","example":"28f61af50fc9452aa0ed5ea25c3cc3d3","maxLength":64,"minLength":1,"readOnly":true,"type":"string"},"last_assess_time":{"description":"最新评估时间","format":"int64","type":"integer"},"last_update_time":{"description":"最新更新时间","format":"int64","type":"integer"},"operator":{"description":"操作人ID","example":"a293d277b3ff46db8af067eec48f1111","maxLength":64,"minLength":1,"type":"string"},"operator_name":{"description":"操作人名称","example":"COC-CDR","maxLength":64,"minLength":0,"type":"string"},"progress":{"description":"评估进度","example":100,"maximum":100,"minimum":0,"type":"integer"},"reason":{"description":"失败原因","example":"No resource exists in the application.","maxLength":1024,"minLength":0,"type":"string"},"score":{"example":68.89,"format":"double","type":"number"},"status":{"description":"评估任务状态. \nno_assessment 未评估\nassess_finish 评估完成\nassess_failed 评估失败\nassessing     评估中","enum":["no_assessment","assess_finish","assess_failed","assessing"],"example":"no_assessment","type":"string"}},"type":"object"}},"description":null,"group_id":"82af75d8fb894fc2b06ca4175859ba53","host":"coc.myhuaweicloud.com","id":"c65f9457e34b4298985b538f7f4f9f07","info_version":"v1","method":"get","name":"ListAssessTask","parameters":{},"paths":{"/v1/assess-tasks":{"get":{"description":"分页查询评估任务列表","operationId":"ListAssessTask","parameters":[{"description":"分页参数","format":"int32","in":"query","name":"offset","required":true,"type":"integer"},{"description":"每页显示的条目数量","format":"int32","in":"query","name":"limit","required":true,"type":"integer"},{"description":"应用id","in":"query","maxLength":64,"minLength":0,"name":"application_id","required":false,"type":"string"},{"description":"评估任务状态","in":"query","items":{"type":"string"},"name":"assess_status_list","required":false,"type":"array"}],"produces":["application/json"],"responses":{"200":{"description":"分页查询评估任务结果","schema":{"$ref":"#/definitions/BaseQueryAssessTaskListResponse"}},"400":{"description":"错误结果","schema":{"$ref":"#/definitions/ErrorRsp"}},"500":{"description":"错误返回结果","schema":{"$ref":"#/definitions/ErrorRsp"}}},"summary":"分页查询评估任务列表","tags":["AssessTask"],"x-api-type":"open-api","x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"COC","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"分页查询评估任务列表","tags":"AssessTask","uri":null,"version":"2.0"}