Bucket Usage
Get Bucket Usage
Changed onReturns the amount of storage space and number of files a bucket takes up.
get/storage/buckets/{bucketName}/usage/storage
Request
- Base URLhttps://api.telnyx.com/v2
- URLhttps://api.telnyx.com/v2/storage/buckets/{bucketName}/usage/storage
- AuthHTTP bearer
Path parameters
bucketNamestring required
The name of the bucket
Response
Bucket Storage Usage
Example response
{
"data": [
{
"size": 123456,
"size_kb": 123456,
"num_objects": 123456,
"timestamp": "2020-01-01T00:00:00Z"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}Changes
- breaking
the response property
/became optional for the status - breaking
the response property
/became optional for the status
- breaking