tebarDocs
GuideDevelopersAPI ReferenceChangelog
Media

Get storage usage

GET
/v1/media/usage

Storage used against the plan's quota. Uploads past it: 413 storage_limit_reached.

Requires the read scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key (tb_live_...) from the dashboard, or an OAuth access token.

Header Parameters

Tebar-Profile?string

Limits an owner key to one profile (id or external_id). Unknown: 404 profile_not_found.

Response Body

Storage used.

application/json
  1. response
used_bytes*integer
limit_bytes*integer
count*integer
Example Request
curl -X GET 'https://api.tebar.app/v1/media/usage'
Example Response
{
  "used_bytes": 0,
  "limit_bytes": 0,
  "count": 0
}