The usage report for a renewal
Cluster admins only (`platform.admin`; `hart admin license usage-report`, the console's *Download usage report*). The daily highs of the counted limits since the start of the licence in force (at most a year), with the installation id, the version and the console host: counts only, no names and no email addresses. The installation never sends it anywhere; an admin hands it over at renewal.
openapi/harthelm.yaml at v1.5.0__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.
The usage report.
application/json- response
format*stringgenerated_at*stringdate-timeinstallation*stringversion*stringconsole_host*stringlicense?The licence in force when the report was made.
peak*days*array<>curl -X GET 'https://console.example.com/api/v1/admin/license/usage-report'{ "format": "string", "generated_at": "2019-08-24T14:15:22Z", "installation": "string", "version": "string", "console_host": "string", "license": { "id": "string", "customer_id": "string", "customer": "string", "kind": "string", "limits": { "vcpus": 0, "users": 0, "workspaces": 0, "nodes": 0 }, "overage": "string", "start": "2019-08-24", "end": "2019-08-24" }, "peak": { "vcpus": 0, "users": 0, "workspaces": 0, "nodes": 0 }, "days": [ { "day": "2019-08-24", "vcpus": 0, "users": 0, "workspaces": 0, "nodes": 0 } ]}The licence state for banners
Any signed-in user. The installation's licence state and one sentence about it, for the console's banners: admins see `expiring`, `grace` and `restricted`, everyone sees `grace` and `restricted`. No licence details beyond that; those are `GET /admin/license`.
The licence and what it allows
Cluster admins only (`platform.admin`; `hart admin license`, the console's admin *Licence* page). Computes the state now: the licence in force, its state (`valid`, `expiring` from 60 days before its end, `grace` after the end, `restricted` after the grace period or without a valid licence), every licence installed so far with its standing, and what the limits count now and at their daily high of the last 90 days. A licence state never stops, scales down or deletes anything; `restricted` only refuses new teams, organizations, workspaces, managed services, domains, invitations and users (problem `license-restricted`).