Skip to content

GET /stats/bandwidth

Description

Retrieve bandwidth usage statistics.

Parameters

(Inherit from GET /stats/{type})

Example Request

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

Example Response

json
{
  "stats": [
    {
      "bandwidth_data": 27159296,
      "from_date": 1438300800001,
      "to_date": 1438387200000,
      "user": {
        "id": "54b67486e4b0e8aca492f67d",
        "href": "https://api.xvid.com/v1/users/54b67486e4b0e8aca492f67d"
      }
    },
    ...
  ]
}