hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

सभी hosting एंडपॉइंट्स

प्रमाणन

एक बीयर टोकन के रूप में एक API कुंजी भेजें। यह एंडपॉइंट विनिर्देश में किसी विशिष्ट अनुमति का उल्लेख नहीं करता है, इसलिए अपनी कुंजी को न्यूनतम आवश्यकता दें और अनुमान लगाने के बजाय प्रतिक्रिया की जाँच करें।

यह एंडपॉइंट कोई संगठन आईडी नहीं लेता है। आपकी कुंजी पहले से ही उस संगठन की पहचान करती है जिससे वह संबंधित है, और प्रतिक्रिया उसी के दायरे में है।

इसे आज़माएँ

कोणार्कित ब्रैकेट्स में दी गई किसी भी चीज़ को अपने मानों से बदलें, और की प्लेसहोलर को अपने डैशबोर्ड की एक की से बदलें।

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

साइन इन हैं? आपके डैशबोर्ड में मौजूद API कंसोल आपकी वास्तविक संगठन आईडी और आपकी अपनी कुंजी स्वतः भर देता है, और लाइव API के विरुद्ध अनुरोध चलाता है ताकि आप वास्तविक प्रतिक्रिया देख सकें। इस एंडपॉइंट को API कंसोल में खोलें

विवरण

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

पैरामीटर

नामप्रकारआवश्यकयह क्या है
monitor_id (path)stringहाँ
hours (query)integerनहींHow many hourly history points to return.

प्रतिक्रिया

नामप्रकारआवश्यकयह क्या है
idstringहाँ
urlstringहाँ
namestringनहीं
statestring<unknown, up, down, paused>हाँ⛔ `unknown` is a real state and is not a synonym for `up` — it means "not checked yet" and is excluded from every uptime percentage.
enabledbooleanहाँ
expect_textstringनहीं
site_idstringनहीं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_atstringनहीं
last_up_atstringनहीं
last_down_atstringनहीं
created_atstringहाँ
summaryUptimeSummaryनहीं
historyUptimeHistoryPoint[]नहीं
incidentsUptimeIncident[]नहीं
vitalsUptimeVitalsPoint[]नहीं
migration_offerUptimeMigrationOfferनहीं

त्रुटियाँ जो यह एंडपॉइंट लौटा सकता है

401 · 404