Skip to main content
GET
/
api
/
v1
/
buckets
/
{bucket}
/
metrics
/
historical
hisotrical metrics
curl --request GET \
  --url https://storage-service.iran.liara.ir/api/v1/buckets/{bucket}/metrics/historical \
  --header 'Authorization: <api-key>'
{
  "status": "<string>",
  "data": {
    "bucket": "<string>",
    "metrics": {
      "totol_objects": [
        123
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

bucket
string
required

Query Parameters

since
string
required

unix time

Response

successful operation

status
string
data
object