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"},"StandarErrorResponseV5":{"properties":{"error_code":{"description":"错误代码","type":"string"},"error_msg":{"description":"错误信息","type":"string"},"status":{"description":"结果状态","type":"string"},"trace_id":{"description":"请求id","type":"string"}},"type":"object"},"StorageStatisticDO":{"properties":{"filesCount":{"description":"参数解释:\n文件总数。\n取值范围:\n不涉及。","format":"int64","type":"integer"},"foldersCount":{"description":"参数解释:\n文件夹总数。\n取值范围:\n不涉及。","format":"int64","type":"integer"},"itemsCount":{"description":"参数解释:\n文件及文件夹总数。\n取值范围:\n不涉及。","format":"int64","type":"integer"},"summaryDate":{"description":"参数解释:\n统计日期。\n取值范围:\n不涉及。","type":"string"},"usedSpace":{"description":"参数解释:\n占用空间。\n取值范围:\n不涉及。","type":"string"},"usedSpaceLength":{"description":"参数解释:\n占用空间(字节)。\n取值范围:\n不涉及。","format":"int64","type":"integer"}},"type":"object"},"StorageStatisticDOListRes":{"allOf":[{"$ref":"#/definitions/StandarBaseResponseV5"},{"properties":{"result":{"description":"参数解释:\n存储容量数据。\n取值范围:\n不涉及。","items":{"$ref":"#/definitions/StorageStatisticDO"},"type":"array"}},"type":"object"}]}},"description":null,"group_id":"12022fbec3164dffbdbcd192875653a8","host":"cloudartifacts-ext.cn-north-4.myhuaweicloud.com","id":"7d825939ae944efb851ce5d75e3fcae1","info_version":"v2","method":"get","name":"ListArtifactoryStorageStatistic","parameters":{},"paths":{"/cloudartifact/v5/{tenant_id}/{project_id}/storageinfo/statistic":{"get":{"description":"查询存储容量趋势","operationId":"ListArtifactoryStorageStatistic","parameters":[{"description":"租户id","in":"path","name":"tenant_id","required":true,"type":"string"},{"description":"项目id","in":"path","name":"project_id","required":true,"type":"string"},{"description":"仓库id","in":"query","name":"repo","required":false,"type":"string"},{"description":"起始时间","in":"query","name":"start_time","required":false,"type":"string"},{"description":"终止时间","in":"query","name":"end_time","required":false,"type":"string"},{"description":"实例id","in":"query","name":"instance_id","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/StorageStatisticDOListRes"}},"401":{"description":"UNAUTHORIZED","schema":{"$ref":"#/definitions/StandarErrorResponseV5"}}},"summary":"查询存储容量趋势","tags":["仓库详情"],"x-api-type":"open-api","x-is-registered":"Y","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"}