Object Storage

Available endpoints:
NameMethodPath
post/v3/object-storage/stats/{type}

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

200Object storage statistics returned.

// example of the response
{
  "stats": [
    {
      "timestamp": 1614556800,
      "value": 123.45
    }
  ]
}