Querying Repository Usage
Function
Query repository usage.
URI
GET /cloudartifact/v5/storage
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
format_list |
No |
String |
Types |
in_project |
No |
String |
Whether it is in project or not. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Result status. |
trace_id |
String |
Request ID. |
result |
String |
Returned result of the request. The return value varies according to the API. |
Example Requests
Query repository usage.
https://artifact.cn-south-1.myhuaweicloud.com/cloudartifact/v5/storage?in_project=true&format_list=maven2,npm,go,pypi,rpm,debian,conan,nuget,docker
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "143006-1701220621380-265", "result" : { "totalStorage" : "549.62 MB", "totalCount" : 183 } }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot