{"base_path":"/","components":null,"consumes":"","definitions":{"ShowStorageRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/StorageMap","description":"**参数解释**:\n用量信息。\n **取值范围**:\n不涉及。"}},"type":"object"}]},"StandarBaseResponseV5":{"properties":{"status":{"description":"**参数解释**:\n请求成功或失败状态。\n**取值范围**:\n- success:请求成功。\n- error:请求失败。","enum":["success","error"],"example":"success","type":"string"},"trace_id":{"description":"**参数解释**:\n请求ID,当前请求唯一标识。\n**取值范围**:\n数字及中划线(-)组成的字符串。","type":"string"}},"type":"object"},"StandarErrorResponseV5":{"properties":{"error_code":{"description":"错误代码","type":"string"},"error_msg":{"description":"错误信息","type":"string"},"status":{"description":"结果状态","type":"string"},"trace_id":{"description":"请求id","type":"string"}},"type":"object"},"StorageMap":{"properties":{"totalCount":{"description":"**参数解释**:\n文件数量。\n **取值范围**:\n不涉及。","format":"int32","type":"integer"},"totalStorage":{"description":"**参数解释**:\n存储大小。\n **取值范围**:\n不涉及。","type":"string"}},"type":"object"}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"5104a7f1ee22408da02df400458c3e80","info_version":"v2","method":"get","name":"ShowStorage","parameters":{},"paths":{"/cloudartifact/v5/storage":{"get":{"description":"仓库用量查询","operationId":"ShowStorage","parameters":[{"description":"类型列表","in":"query","name":"format_list","required":false,"type":"string"},{"description":"是否在项目中","in":"query","name":"in_project","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/ShowStorageRes"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"security":[{"apig-auth-iam":[]}],"summary":"仓库用量查询","tags":["仓库容量"],"x-api-framework":"RestfulAPI","x-api-position":"管理面","x-api-type":"open-api","x-api-user":"IAM普通租户","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-support-sdk":"Y"}}},"product_short":"CodeArtsArtifact","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-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-new":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"IAM_NEW"},"apig-auth-iam-none":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-none-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM_NONE"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"仓库用量查询","tags":"仓库容量","uri":null,"version":"2.0"}