hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

Toate punctele finale hosting

Autentificare

Trimiteți o cheie API ca token de tip bearer. Acest punct final nu specifică o permisiune anume în specificație, așa că acordați cheii cele mai puține drepturi necesare și verificați răspunsul în loc să faceți presupuneri.

Acest endpoint nu necesită un ID de organizație. Cheia ta identifică deja organizația căreia îi aparține, iar răspunsul este limitat la aceasta.

Încearcă

Înlocuiți tot ce se află între paranteze unghiulare cu propriile valori și substituentul cheie cu o cheie din tabloul de bord.

curl -X GET https://api.zinndigital.com/v1/uptime/monitors/{monitor_id} \
  -H "Authorization: Bearer zdk_live_…"

Autentificat? Consola API din panoul de control îți completează ID-ul real al organizației și propria cheie și rulează cererea în API-ul live, astfel încât să poți vedea răspunsul efectiv. Deschideți acest punct final în consola API

Detalii

The monitor, its hourly uptime and response-time history, its incidents, its Core Web Vitals readings, and — when its measured health warrants one — a migration offer. ⛔ Unknown ids answer **404, never 403**: a 403 would confirm the id exists and belongs to somebody else. Gated on `sites.view`.

Parametri

NumeTipObligatoriuCe este
monitor_id (path)stringDa
hours (query)integerNuHow many hourly history points to return.

Răspuns

NumeTipObligatoriuCe este
idstringDa
urlstringDa
namestringNu
statestring<unknown, up, down, paused>Da⛔ `unknown` is a real state and is not a synonym for `up` — it means "not checked yet" and is excluded from every uptime percentage.
enabledbooleanDa
expect_textstringNu
site_idstringNuSet only when the address happens to be one of this organisation's own sites. Navigation only — the monitor works identically without it, and must, because the product exists to…
last_result_atstringNu
last_up_atstringNu
last_down_atstringNu
created_atstringDa
summaryUptimeSummaryNu
historyUptimeHistoryPoint[]Nu
incidentsUptimeIncident[]Nu
vitalsUptimeVitalsPoint[]Nu
migration_offerUptimeMigrationOfferNu

Erori pe care le poate returna acest punct final

401 · 404