Skip to content

GET /stats/storage

Description

Retrieve storage usage statistics.

Parameters

(Inherit from GET /stats/{type})

Example Request

bash
curl -X GET "https://api.xvid.com/v1/stats/storage/?format=json" \
  -H "Authorization: Bearer AUTH_TOKEN"

Example Response

json
{
  "stats": [
    {
      "user": {
        "id": "552b874d14eab3a29d1b3d8d",
        "href": "https://api.xvid.com/v1/users/552b874d14eab3a29d1b3d8d"
      },
      "from_date": 1435795200001,
      "to_date": 1435881600000,
      "storage_data": 730774413
    },
    ...
  ]
}