hosting

GET /v1/uptime/monitors/{monitor_id}

One monitored address, with its history.

Tất cả các điểm cuối hosting

Xác thực

Gửi khóa API dưới dạng mã thông báo bearer. Điểm cuối này không nêu rõ quyền cụ thể trong thông số kỹ thuật, vì vậy hãy cấp cho khóa của bạn quyền tối thiểu cần thiết và kiểm tra phản hồi thay vì phỏng đoán.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

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

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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

Tham số

TênLoạiBắt buộcNội dung này là gì
monitor_id (path)string
hours (query)integerKhôngHow many hourly history points to return.

Phản hồi

TênLoạiBắt buộcNội dung này là gì
idstring
urlstring
namestringKhông
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_textstringKhông
site_idstringKhôngSet 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_atstringKhông
last_up_atstringKhông
last_down_atstringKhông
created_atstring
summaryUptimeSummaryKhông
historyUptimeHistoryPoint[]Không
incidentsUptimeIncident[]Không
vitalsUptimeVitalsPoint[]Không
migration_offerUptimeMigrationOfferKhông

Các lỗi điểm cuối này có thể trả về

401 · 404