API reference

GET /api/v1/quota

Storage quota and current consumption.

Parameters

This endpoint takes no parameters.

Response

Content-Type application/json. Cache-Control no-store.

{
  "period": {
    "start": "2023-06-24",
    "granularity": "day"
  },
  "unit": "bytes",
  "totals": {
    "current": 573347,
    "limit": 1000000
  }
}

Example

curl -s https://media.badgereu.win/api/v1/quota