watchers

WATCHER: get a signed callback when a website's HTTP...

WATCHER: get a signed callback when a website's HTTP security-headers grade changes (e.g. a regression from A to C). Arm once, pay once. Pass url. Fires when the grade changes; bounded by maxFires/expiry. The grade at arm time is baselined. Useful for catching config regressions. Signed (verify offline) + retried; recoverable via watchers.status. Returns a watcherId.

post/api/watchers/http-headers

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/watchers/http-headers
  • Auth: API key in header PAYMENT-SIGNATURE

Request body

urlstring uri required

The URL to monitor, e.g. https://example.com.

callbackUrlstring uri required

Signed event POSTed here (verify X-2s-Signature). Any http(s) URL.

payloadobject

Arbitrary JSON echoed back in every callback.

expiresInSecondsinteger

Active window in seconds (default 30d, max 90d).

maxFiresinteger

Stop after this many changes (default 10).

labelstring

Optional free-text tag.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.