Object Storage
Available endpoints:
Name | Method | Path |
---|---|---|
get | /v3/object-storage/clusters | |
post | /v3/object-storage/stats/{type} |
List of Object Storage Clusters
gethttps://api.cdn77.com/v3/object-storage/clusters
Responses
200 – List of Object Storage Clusters returned.
// example of the response
[
{
"id": "9880280c-0507-46d1-88f3-71cfee83fa57",
"host": "region.cdn77-storage.com",
"label": "Region",
"port": 80,
"scheme": "https"
}
]
Get object storage stats
posthttps://api.cdn77.com/v3/object-storage/stats/{type}
Request parameters
typerequiredstring in path
Available values: requests,traffic,used-space,object-count,
Request bodyrequired
// example of the request body
{
"from": 1614556800,
"to": 1614643200,
"aggregation": "5-m",
"buckets": [
"my-bucket"
]
}
fromrequiredinteger
torequiredinteger
aggregationrequiredstring
bucketsarray of strings
Responses
200 – Object storage statistics returned.
// example of the response
{
"stats": [
{
"timestamp": 1614556800,
"value": 123.45
}
]
}