Bucket Usage
Get Bucket Usage
Returns the amount of storage space and number of files a bucket takes up.
get/storage/buckets/{bucketName}/usage/storage
Path parameters
bucketNamestring required
The name of the bucket
Response
Bucket Storage Usage
Example response
{
"data": [
{
"num_objects": 123456,
"size": 123456,
"size_kb": 123456,
"timestamp": "2020-01-01T00:00:00Z"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}