External Services

Get a managed service's healthcheck

Changed on

Its own overrides, what a new or recreated container gets (with where each value comes from), and what the running container has.

get/external-services/{id}/healthcheck

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

idinteger required

External service ID

Response

The service's healthcheck

engine'postgres' | 'redis' | 'mariadb' | 'mongodb' | 'rustfs' | 'minio' nullable

Engines whose containers Temps manages and may need to replace.

overrides_ignored_reasonstring nullable

Why this service's overrides are set aside: they no longer combine with the instance default, so effective is what the container gets without them. Change or clear them to use them again.

pending_recreateboolean required

The running container differs from effective (as this host's Docker would store it) until it is recreated. false when either is unknown.

readiness_wait_secsinteger nullable

How long Temps waits for a new container of this engine to become healthy; a check has to land inside it.

service_idinteger required
service_namestring required
service_typestring required
start_interval_supportedboolean nullable

false: this host's Docker ignores the start interval, so the steady-state interval stays at the start interval. Absent when not known yet.

Example response

{
  "effective": {
    "timings": {
      "interval_secs": 30,
      "retries": 3,
      "start_interval_secs": 2,
      "start_period_secs": 90,
      "timeout_secs": 5
    }
  },
  "inherited": {
    "timings": {
      "interval_secs": 30,
      "retries": 3,
      "start_interval_secs": 2,
      "start_period_secs": 90,
      "timeout_secs": 5
    }
  },
  "overrides": {
    "interval_secs": 60,
    "retries": 3,
    "start_interval_secs": 2,
    "start_period_secs": 90,
    "timeout_secs": 5
  },
  "running": {
    "interval_secs": 30,
    "retries": 3,
    "start_interval_secs": 2,
    "start_period_secs": 90,
    "timeout_secs": 5
  }
}

Changes