Get global usage stats
GET
/api/admin/usage
Returns server-wide usage counters for storage, files, folders, pastes, collections,
and shares alongside their configured limits. Requires an admin session token.
Authorizations
Token
Format: token <value>. Types: user (session) or uploader (API token).
Type
API Key (header: Authorization)
Responses
OK
application/json
JSON "storage": { "current": "string", "max": 0 }, "files": { "current": 0, "max": 0 }, "folders": { "current": 0, "max": 0 }, "pastes": { "current": 0, "max": 0 }, "collections": { "current": 0, "max": 0 }, "shares": { "current": 0, "max": 0 }
{
}
