API referenceSections

QuotaStatus

QuotaStatus object
  • tenant_id string required
  • disk_policy string required
    Allowed values: "block" "notify" "suspend"
  • bandwidth_policy string required
    Allowed values: "notify" "suspend"
  • grace_days integer required
  • disk_bytes integer (int64) required
  • disk_limit_bytes integer (int64) required
  • traffic_bytes integer (int64) required
  • traffic_limit_bytes integer (int64) required
  • measured_at string (date-time) | null required
  • thresholds array<integer> required
  • states array<QuotaState> required
  • notices array<QuotaNotice> required
  • suspend_cause string required

Used by

GET/api/v1/tenants/{tid}/quotaThis account's standing against its disk and bandwidth limits (ADR 0070)
GET/api/v1/tenants/{tid}/customers/{cid}/quotaA customer's standing against its limits, for its seller
POST/api/v1/tenants/{tid}/customers/{cid}/quota/applyApply the customer's disk quota on its server now (FSRM, or the panel when FSRM cannot be used) and judge it