curl -X GET "https://api.nonefivem.com/cloud/storage" \
-H "Authorization: Bearer your-api-key"
const response = await fetch("https://api.nonefivem.com/cloud/storage", {
headers: {
Authorization: "Bearer your-api-key"
}
});
const statistics = await response.json();
{
"totalStorage": 5368709120,
"usedStorage": 1073741824,
"overageStorage": 0,
"breakdown": [
{
"kind": "image",
"count": 120,
"size": 536870912
},
{
"kind": "video",
"count": 25,
"size": 429496729
},
{
"kind": "audio",
"count": 5,
"size": 107374183
}
]
}
Storage
Get Storage Statistics
Retrieve storage usage statistics for your organization
GET
/
storage
curl -X GET "https://api.nonefivem.com/cloud/storage" \
-H "Authorization: Bearer your-api-key"
const response = await fetch("https://api.nonefivem.com/cloud/storage", {
headers: {
Authorization: "Bearer your-api-key"
}
});
const statistics = await response.json();
{
"totalStorage": 5368709120,
"usedStorage": 1073741824,
"overageStorage": 0,
"breakdown": [
{
"kind": "image",
"count": 120,
"size": 536870912
},
{
"kind": "video",
"count": 25,
"size": 429496729
},
{
"kind": "audio",
"count": 5,
"size": 107374183
}
]
}
Returns comprehensive statistics about your organization’s storage usage including total size, file counts, and usage breakdowns.
Authorization
string
required
Bearer token for authentication. Format:
Bearer <your-api-key>Required Permission
STORAGE_READ
Response
number
Total storage allocation in bytes
number
Currently used storage in bytes
number
Overage storage in bytes (usage beyond allocation)
StorageBreakdown[]
Breakdown of storage by file kind
Show StorageBreakdown properties
Show StorageBreakdown properties
curl -X GET "https://api.nonefivem.com/cloud/storage" \
-H "Authorization: Bearer your-api-key"
const response = await fetch("https://api.nonefivem.com/cloud/storage", {
headers: {
Authorization: "Bearer your-api-key"
}
});
const statistics = await response.json();
{
"totalStorage": 5368709120,
"usedStorage": 1073741824,
"overageStorage": 0,
"breakdown": [
{
"kind": "image",
"count": 120,
"size": 536870912
},
{
"kind": "video",
"count": 25,
"size": 429496729
},
{
"kind": "audio",
"count": 5,
"size": 107374183
}
]
}

