Endpoint

/v1/files/quotas/status/{id}

GET

Get the directory quota for a directory, its limit in bytes, and current capacity usage.

Parameters

Name Description Required
id Directory ID Yes

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_files_quota_status",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique ID of this directory.",
      "type": "string"
    },
    "path": {
      "description": "Full path of this directory.",
      "type": "string"
    },
    "limit": {
      "description": "Limit in bytes of the cumulative size of this directory and its descendants.",
      "type": "string"
    },
    "capacity_usage": {
      "description": "Capacity used by this directory and all of its children, in bytes.",
      "type": "string"
    }
  }
}