| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/admin/storageStats | GET | Yes |
Returns storage statistics including disk usage, bucket count, and user count.
{
"totalBytes": 500107862016,
"availableBytes": 234567890123,
"usedBytes": 265539971893,
"alarikUsedBytes": 1073741824,
"bucketCount": 15,
"userCount": 3
}
curl -X GET "{API_BASE_URL}/api/v1/admin/storageStats" \
-H "X-Access-Key: YOUR_ACCESS_KEY" \
-H "X-Secret-Key: YOUR_SECRET_KEY"