Endpoint

/v1/files/quotas/status/

GET

List all directory quotas and their corresponding directories' paths and cumulative sizes.

Parameters

Name Description Required
after Return entries after the given key (keys are returned in the paging object) No
limit Return no more than this many entries; the system may choose a smaller limit. No

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_files_quota_status_entries",
  "type": "object",
  "properties": {
    "quotas": {
      "type": "array",
      "items": {
        "description": "quotas",
        "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"
          }
        }
      }
    }
  }
}