Appearance
Dash service
/dash returns the per-account summary the Hub dashboard is built from: your subscription plan, live quota usage, and recently active devices.
sh
curl -s https://api.pantahub.com/dash/ -H "Authorization: Bearer $TOKEN"json
{
"nick": "yournick",
"prn": "prn:::accounts:/…",
"subscription": {
"plan-id": "VIP",
"billing": {"AmountDue": 0, "Currency": "USD", "Type": "Monthly"},
"quota-stats": {
"DEVICES": {"Actual": 12, "Max": 100, "Unit": "Piece"},
"OBJECTS": {"Actual": 0.06, "Max": 20, "Unit": "GiB"},
"BANDWIDTH": {"Actual": 0, "Max": 100, "Unit": "GiB"}
}
},
"top-devices": [
{"nick": "honest_collie", "prn": "prn:::devices:/…",
"type": "INFO", "message": "Device changed at …"}
]
}quota-stats shows each quota's current consumption (Actual) against the plan limit (Max) — the same numbers the UI renders as usage meters. top-devices lists the devices with the most recent activity.
GET /dash/auth_status mirrors the token-introspection endpoint of auth for this service.
Endpoint reference
Try these live in the API Reference:
| Endpoint | Reference |
|---|---|
GET /dash | Dashboard summary |
GET /dash/auth_status | Token claims |