http://<host>:3080 β risposta sempre in JSON[
{
"id": "dmdesk",
"name": "DmDesk CMS",
"url": "https://desk-robin.cloud.atex.com/desk/#/",
"type": "HTTPS",
"status": "ok", // "ok" | "ko" | "unknown"
"phase": 3,
"uptime_pct": 99.2,
"last_response_ms": 4821,
"last_checked_at": "2026-05-03T10:00:00.000Z",
"last_root_cause": null,
"last_ts": 1746266400000,
"last_phase_data": { "navigate_ms": 1200, "login_ms": 3800 }
}
]
| Param | Tipo | Descrizione |
|---|---|---|
| id req | string | ID del check (es. dmdesk, video-encoding) |
| Param | Tipo | Default | Descrizione |
|---|---|---|---|
| days opt | integer | 7 | Giorni di storico (max 30) |
[
{
"id": 1234,
"check_id": "dmdesk",
"status": "ok",
"phase": 3,
"response_ms": 4821,
"root_cause": null,
"phase_data": "{\"navigate_ms\":1200}",
"ts": 1746266400000
}
]
| Param | Tipo | Descrizione |
|---|---|---|
| id req | string | ID del check |
{
"status": "ok",
"phase": 3,
"response_ms": 4821,
"root_cause": null,
"ts": 1746266400000
}
{
"status": "OK", // "OK" | "KO" | "PENDING"
"phase": 3,
"response_ms": 4821,
"root_cause": null,
"checked_at": "2026-05-03T10:00:00.000Z"
}
202 PENDING se il check non Γ¨ ancora stato eseguito dall'avvio del server.{ "ok": true, "uptime": 3600.5 }
{
"global": "operational", // "operational" | "outage"
"updated_at": "2026-05-03T10:00:00.000Z",
"services": [
{
"id": "dmdesk",
"name": "DmDesk CMS",
"status": "operational",
"uptime_30d": 99.85,
"uptime_90d": 99.71,
"last_checked_at": "2026-05-03T10:00:00.000Z",
"daily": [ { "date": "2026-05-03", "ok": 288, "total": 288, "pct": 100 } ],
"incidents": []
}
]
}
{ "indicator": "none", "description": "All Systems Operational" }
indicator: none = tutto ok Β· minor Β· major Β· critical| Param | Tipo | Default | Descrizione |
|---|---|---|---|
| limit opt | integer | 50 | Numero massimo di righe (max 100) |
[
{
"id": 42,
"check_id": "dmdesk",
"channel": "telegram", // "telegram" | "push"
"event": "down", // "down" | "up"
"payload": "Timeout fase 2",
"sent_at": 1746266400000
}
]
{ "configured": true, "chat_id": "-100123456789", "verified": true }
| Campo | Tipo | Descrizione |
|---|---|---|
| bot_token req | string | Token del bot Telegram |
| chat_id req | string | ID del gruppo o canale destinatario |
{"ok": true} se il messaggio Γ¨ stato inviato.{"ok": true}.{ "key": "BNx8..." }
VAPID_PUBLIC_KEY non Γ¨ configurata, key sarΓ null.| Campo | Tipo | Descrizione |
|---|---|---|
| endpoint req | string | URL endpoint push del browser |
| keys.p256dh req | string | Chiave pubblica del client |
| keys.auth req | string | Secret di autenticazione |
| label opt | string | Etichetta per identificare il dispositivo |
| Campo | Tipo | Descrizione |
|---|---|---|
| endpoint req | string | URL endpoint da rimuovere |
| Campo | Tipo | Descrizione |
|---|---|---|
| question req | string | Testo della domanda |
| session_id opt | string | ID sessione per tracciare il feedback |
{
"answer": "DmDesk CMS Γ¨ attualmente operativo...",
"source": "ai" // "ai" | "cache" | "error"
}
| Campo | Tipo | Descrizione |
|---|---|---|
| question req | string | Domanda originale |
| ai_answer req | string | Risposta AI ricevuta |
| session_id opt | string | ID sessione |
| rating opt | integer | Valutazione (es. 1 = positivo, -1 = negativo) |
| correction opt | string | Testo correttivo fornito dall'utente |
| Param | Tipo | Default | Descrizione |
|---|---|---|---|
| approved opt | 0 | 1 | 0 | Se 1, restituisce solo le voci approvate |
[
{
"id": 1,
"question": "Cosa fare se DmDesk Γ¨ down?",
"answer": "Procedura intervento...",
"source": "runbook", // "ai" | "manual" | "runbook"
"approved": 1,
"ts": 1746266400000
}
]
| Campo | Tipo | Descrizione |
|---|---|---|
| question req | string | Domanda |
| answer req | string | Risposta |
| approved opt | boolean | Approva immediatamente (default: false) |
{"ok": true}.{"ok": true}.