Browse the docs

GET /watches

The pages the web.changed watches are checking, and when each is next due.

Details #

Answers {"count": 2, "nextCheckIn": 180, "items": [...]}. nextCheckIn is seconds until the soonest check, or null. Each item: macroId, macroName, url, every (seconds), kind, summary ("Checked 3 min ago, unchanged", or "Not checked yet"), lastCheck, nextCheck, pausedUntil, lastResult and errors. Only enabled macros in enabled groups are listed.

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X GET http://localhost/watches

The web.changed watches with their state and next check. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #