hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

Gbogbo àwọn hosting endpoints

Ìfàṣẹ́pọ̀

Fi bọ́kì kọ́kọ́ (bearer token) ránṣẹ́ gẹ́gẹ́ bí àmì ìdánimọ̀ API. Ibùdó yìí kò sọ àṣẹ pàtó kan nínú àlàyé rẹ̀, nítorí náà fún kọ́kọ́ rẹ̀ ní ohun tó kéré jù lọ tí ó nílò kí o sì ṣàyẹ̀wò ìdáhùn náà dípò kí o kàn rò ó.

Ojú abánisọ̀rọ̀ yìí kò gba id ajọ kankan. Kọ́kọ́rọ́ rẹ ti mọ ajọ ti o jẹ ti e, a o si fèsì nipa rẹ̀.

Gbiyanju rẹ

Rọ́pọ̀ èyíkéyìí nínú àwọn àmì ìtọ́ka < > pẹ̀lú iye tirẹ̀, àti àmì ìdánimọ̀ bọ́tìnnì náà pẹ̀lú bọ́tìnnì kan láti inú dásibọ̀ọ̀dù rẹ.

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

Ṣé o ti wọlé? Iwọ̀n api ní nú ìgbékalẹ̀ rẹ kún id àjọ gidi rẹ ati bọtini tirẹ, o si nṣiṣẹ ibeere na lòdì si api gidi ki o le rii esi gidi na. Ṣí ojú abáná yìí sílẹ̀ nínú kọnsólù API

Àwọn kúlẹ̀kúlẹ̀

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`.

Àwọn ìpìlẹ̀

OrúkọIruTí a nílòKini o jẹ
monitor_id (path)stringBẹẹni
hours (query)integerBẹẹkọHow many hourly history points to return.

Idahun

OrúkọIruTí a nílòKini o jẹ
idstringBẹẹni
urlstringBẹẹni
namestringBẹẹkọ
statestring<unknown, up, down, paused>Bẹẹni⛔ `unknown` is a real state and is not a synonym for `up` — it means "not checked yet" and is excluded from every uptime percentage.
enabledbooleanBẹẹni
expect_textstringBẹẹkọ
site_idstringBẹẹkọSet 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_atstringBẹẹkọ
last_up_atstringBẹẹkọ
last_down_atstringBẹẹkọ
created_atstringBẹẹni
summaryUptimeSummaryBẹẹkọ
historyUptimeHistoryPoint[]Bẹẹkọ
incidentsUptimeIncident[]Bẹẹkọ
vitalsUptimeVitalsPoint[]Bẹẹkọ
migration_offerUptimeMigrationOfferBẹẹkọ

Awọn aṣiṣe ti ibudo ipari yii le da pada

401 · 404