LogoMediaLit Docs
Api

Get Total Size

Get the total size of all media files in bytes.

POST
/media/get/size

Get the total size of all media files in bytes.

Authorization

apiKeyAuth
x-medialit-apikey<token>

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://api.medialit.cloud/media/get/size"
{
  "storage": 0.1,
  "maxStorage": 0.1
}
{
  "error": "Unauthorized"
}
{
  "error": "Internal Server Error"
}