Competitor Tracker & Co. Docs

Readiness probe.

Confirms the service can reach its backing systems rather than merely that it booted. Returns 200 when every check passes and 503 when any one fails; `checks` carries the per-subsystem breakdown.

GET
/v1/health

Response Body

application/json

application/json

curl -X GET "https://api.competitortracker.io/v1/health"
{
  "ok": true,
  "time": "2019-08-24T14:15:22Z",
  "checks": {
    "database": {
      "ok": true,
      "error": "string"
    },
    "storage": {
      "ok": true,
      "error": "string"
    },
    "queues": {
      "ok": true,
      "error": "string"
    }
  }
}
{
  "ok": true,
  "time": "2019-08-24T14:15:22Z",
  "checks": {
    "database": {
      "ok": true,
      "error": "string"
    },
    "storage": {
      "ok": true,
      "error": "string"
    },
    "queues": {
      "ok": true,
      "error": "string"
    }
  }
}