Tenant Storage Capacity (Release Repos)
Function
Tenant storage capacity (Release Repos)
Calling Method
For details, see Calling APIs.
URI
GET /devreposerver/v5/storage
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Definition: Request status. Value range: success: The request is successful. error: The request fails. |
trace_id |
String |
Definition: Request ID, which uniquely identifies the current request. Value range: A string of digits and hyphens (-). |
result |
ReleaseStorageVOV5 object |
Definition: Storage capacity information. Value range: N/A |
Parameter |
Type |
Description |
---|---|---|
used_capacity |
String |
Definition: Used storage space (in bytes). Value range: N/A |
total_capacity |
String |
Definition: Maximum storage space of a tenant (with a unit). Value range: N/A |
used_capacity_size |
Long |
Definition: Used storage space (in bytes). Value range: N/A |
total_capacity_size |
Long |
Definition: Maximum storage space of a tenant (in bytes). Value range: N/A |
package_type |
String |
Definition: Yearly/Monthly package type (0: no package; 1: basic; 2: professional; 3: platinum). Value range: N/A |
total_count |
Long |
Definition: Repositories in a project. Value range: N/A |
Example Requests
Tenant storage capacity (Release Repos)
https://{URL}/devreposerver/v5/storage
Example Responses
Status code: 200
OK
{ "status" : "success", "trace_id" : "77efe1b467f241cc9ac59a4b253ade96", "result" : { "used_capacity" : "77.74GB", "total_capacity" : "0.0B", "used_capacity_size" : 83476974728, "total_capacity_size" : 0, "package_type" : "codearts.xxxx.enterprise", "total_count" : 149 } }
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