Get object storage stats
Posthttps://api.cdn77.com/v3/object-storage/stats/{type}
Request parameters
- typestring in pathrequired
Available values: requests, traffic, used-space, object-count
Request body≥1 required
- fromintegerrequired
- tointegerrequired
- aggregationstringrequired
- bucketsarray of strings
Example of the request body
{
"from": 1614556800,
"to": 1614643200,
"aggregation": "5-m",
"buckets": [
"my-bucket"
]
}
Responses
Object storage statistics returned.
Response parameters
- statsarray of objects
Example of the response
{
"stats": [
{
"timestamp": 1614556800,
"value": 123.45
}
]
}