huawei-cloud-api-definitions-CodeArtsArtifact 0.1.20260313

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"","definitions":{"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"},"StorageInfoDOV5":{"properties":{"files_count":{"description":"**参数解释**:\n文件数量。\n**取值范围**:\n不涉及。\n","format":"int64","type":"integer"},"used_space":{"description":"**参数解释**:\n使用空间(带单位)。\n**取值范围**:\n不涉及。\n","type":"string"},"used_space_length":{"description":"**参数解释**:\n使用空间(字节)。\n**取值范围**:\n不涉及。\n","format":"int64","type":"integer"}},"type":"object"},"StorageInfoDOV5Res":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"$ref":"#/definitions/StorageInfoDOV5","description":"**参数解释**:\n存储容量信息。\n**取值范围**:\n不涉及。\n"}},"type":"object"}]}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"9b7cf88657a24f41b12d76ab0fdeef48","info_version":"v2","method":"get","name":"ShowProjectStorageInfo","parameters":{},"paths":{"/devreposerver/v5/{project_id}/storage":{"get":{"description":"查询项目下的制品存储容量,包含已使用存储容量和文件数量等信息。在项目管理中,可以使用该接口监控项目下的制品存储情况,以确保资源的有效利用。","operationId":"ShowProjectStorageInfo","parameters":[{"description":"**参数解释**:\n项目ID,对应\"需求管理 CodeArts Req\"项目唯一标识,私有依赖库首页地址栏url https://{host}/cloudartifact/project/{project_id}/repository中project_id变量的值。\n**约束限制**:\n字符串长度32。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"path","name":"project_id","pattern":"^[a-z0-9]{32}$","required":true,"type":"string"},{"description":"**参数解释**:\nparent_id。\n**约束限制**:\n不涉及。\n**取值范围**:\n不涉及。\n**默认取值**:\n不涉及。","in":"query","name":"parent_id","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StorageInfoDOV5Res"}}},"summary":"查询项目下的制品存储容量信息","tags":["发布库仓库容量"],"x-api-framework":"RestfulAPI","x-api-highrisk":"N","x-api-position":"Region_ZONE","x-api-type":"open-api","x-api-user":"IAM_User","x-is-registered":"Y","x-open-region-cloud":"hws,hws_hk","x-sec-auditlog":"N","x-sec-upload-download":0,"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"}