hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

همه نقاط پایانی hosting

احراز هویت

یک کلید API را به عنوان یک توکن برbearer ارسال کنید. این نقطه پایانی مجوز خاصی را در مشخصات خود ذکر نمی‌کند، بنابراین به جای فرض کردن، حداقل نیازهای کلید خود را بدهید و پاسخ را بررسی کنید.

این نقطه پایانی هیچ شناسه سازمانی را دریافت نمی‌کند. کلید شما در حال حاضر سازمان مربوطه را مشخص می‌کند و پاسخ در همان محدوده ارائه می‌شود.

امتحان کنید

هر چیزی را که داخل براکت‌های زاویه‌دار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.

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