Cloud Enterprise Object Storage REST API

Search (SHIFT+S)




Modified since last release

Get Cluster Capacity

GET /object/capacity

Gets the capacity of the cluster. The details includes the provisioned capacity in GB and available capacity in GB.


Required Roles

Requires one of the following roles:

  • SYSTEM_ADMIN

  • SYSTEM_MONITOR


Response Body

Capacity of the cluster

Field Description Type Notes
cluster_capacity
totalProvisioned_gb Total provisioned capacity. Long
totalFree_gb Total free capacity. Long

Examples

Request
GET https://192.168.0.0:4443/object/capacity HTTP/1.1 

Content-Type: application/xml
X-SDS-AUTH-TOKEN: <AUTH_TOKEN>
Response
HTTP/1.1 200 OK 
Content-Type: application/xml

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cluster_capacity>
    <totalFree_gb>739</totalFree_gb>
    <totalProvisioned_gb>750</totalProvisioned_gb>
</cluster_capacity>