From 42b6aae54eb99ca40784098f767d3716596789d5 Mon Sep 17 00:00:00 2001 From: nate Date: Sun, 22 Mar 2026 05:01:14 +0400 Subject: [PATCH] fix: update docs to reflect code --- apps/web/src/views/docs.ejs | 19 +++++++++++++++++++ apps/web/src/views/landing.ejs | 15 ++------------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/apps/web/src/views/docs.ejs b/apps/web/src/views/docs.ejs index c8518ef..a020918 100644 --- a/apps/web/src/views/docs.ejs +++ b/apps/web/src/views/docs.ejs @@ -130,9 +130,28 @@ "name": "My API", "url": "https://api.example.com/health", "interval_s": 60, // check every 60 seconds (min: 2) + "method": "POST", // optional — default: GET + "request_headers": { "X-Api-Key": "secret" }, // optional + "request_body": "{\"ping\": true}", // optional — Content-Type defaults to application/json + "regions": ["eu-central", "us-west"], // optional — default: all regions + "timeout_ms": 10000, // optional — default: 10000 "query": { ... } // optional — see Query Language below } + + + + + + + + + + + + + +
FieldTypeDescription
namestringDisplay name for the monitor
urlstringURL to monitor
interval_snumberCheck interval in seconds (min: 30 free, 2 pro)
methodstringHTTP method — GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
request_headersobjectCustom headers as key-value pairs
request_bodystringRequest body (Content-Type defaults to application/json)
regionsstring[]Regions to ping from: eu-central, us-west. Default: all
timeout_msnumberRequest timeout in milliseconds (default: 10000)
queryobjectQuery conditions — see below

Get

GET/monitors/:id
diff --git a/apps/web/src/views/landing.ejs b/apps/web/src/views/landing.ejs index ed334f5..7121d92 100644 --- a/apps/web/src/views/landing.ejs +++ b/apps/web/src/views/landing.ejs @@ -295,7 +295,7 @@

JSONPath & CSS selectors

-

Drill into JSON responses with $json or scrape any HTML page with $css — no API required.

+

Drill into JSON responses with $json or scrape any HTML page with $select — no API required.

@@ -473,13 +473,6 @@ - -
-
- - CLI coming soon — pingql watch mon_a1b2c3 -
-
@@ -535,11 +528,7 @@
  • - Webhook notifications -
  • -
  • - - Priority support + Multi-region monitoring