config

Export monitors as code

Monitors as code. Returns every monitor in the workspace as a desired-state document you can commit to git:

version: 1
channels: [{name: Ops Telegram, kind: telegram}]   # names only, no secrets
monitors:
  - {name: Marketing site, mode: uptime, url: https://example.com, interval_minutes: 5, channels: [Ops Telegram], ...}

Each monitor lists the fields relevant to its mode (see GET /api/v1/config/example for a commented file). Feed the document back with PUT /api/v1/config to apply changes. Requires a Business or Enterprise plan.

get/api/v1/config

Request

  • Base URL: https://puzaricloud.in (the document declares no server; this is the origin it was published from)
  • URL: https://puzaricloud.in/api/v1/config
  • Auth: none declared

Query parameters

formatstring

Response

Successful Response

Changes

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