Harthelm Docs

The team's quota and usage

Every member (`team.view`): the installation default, the team's override, the effective quota (what the namespace's ResourceQuota and the pre-checks on create, Sync and wake use) and the current usage, counted like the pre-checks count it.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/teams/{team}/quota

Authorization

cookie__Host-harthelm_session<token>

Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header Harthelm-CSRF: 1 and a matching Origin.

Path Parameters

team*integer

Numeric resource id.

Formatint64
Range1 <= value

Response Body

The quota.

application/json
  1. response
default*
override?

Quantities to override; absent ones take the installation default. An empty object clears nothing (use DELETE).

Properties1 <= properties
effective*
usage*
updated_by?ID

Numeric resource id.

Formatint64
Range1 <= value
updated_at?string
Formatdate-time
curl -X GET 'https://console.example.com/api/v1/teams/1/quota'
{  "default": {    "requests_cpu_millis": 0,    "requests_memory_mib": 0,    "limits_memory_mib": 0,    "storage_gib": 0  },  "override": {    "requests_cpu_millis": 1,    "requests_memory_mib": 1,    "limits_memory_mib": 1,    "storage_gib": 1  },  "effective": {    "requests_cpu_millis": 0,    "requests_memory_mib": 0,    "limits_memory_mib": 0,    "storage_gib": 0  },  "usage": {    "requests_cpu_millis": 0,    "requests_memory_mib": 0,    "limits_memory_mib": 0,    "storage_gib": 0,    "workspaces": 0,    "awake_workspaces": 0,    "held_by_deleted": {      "workspaces": 0,      "storage_gib": 0    }  },  "updated_by": 1,  "updated_at": "2019-08-24T14:15:22Z"}