The public status, as JSON
Regions and their relays (state, CPU and memory shares, viewers), the overall state (`up`, `degraded`, `down`) and the recent relay incidents. No URLs, scopes or tenants.
GET
Regions and their relays (state, CPU and memory shares, viewers),
the overall state (up, degraded, down) and the recent relay
incidents. No URLs, scopes or tenants.
the status
application/json- response
state?stringValue in
"up""degraded""down"home?stringat?stringregions?array<>nodes without url, publishers and admission
incidents?array<>curl -X GET 'https://api.nearglass.com/v1/status'Example Response200
{ "state": "up", "home": "string", "at": "string", "regions": [ { "id": "string", "name": "string", "lat": 0, "lon": 0, "state": "up", "edges_up": 0, "edges": 0, "nodes": [ { "id": "string", "role": "origin", "status": "unknown", "cpu": 0, "mem": 0, "sessions": 0, "send_mbps": 0, "last_seen_s": 0, "since_s": 0, "url": "string", "publishers": { "property1": 0, "property2": 0 }, "admission": { "mode": "on", "saturated": true, "busy": 0, "delay_ms": 0, "admitted": 0, "refused": 0 } } ] } ], "incidents": [ { "type": "string", "node": "string", "region": "string", "at": "string" } ]}Viewer-hours and bytes per day and per stream, and this month's spend GET
From the relay's session records (UTC days, a session counted on the day it ended; viewer sessions under 10 s are bytes but not viewer-hours). At most 92 days a call.
The public status page (HTML, refreshed from /v1/status every 5 s) GET
Next Page