External Services
Recreate a managed service's container to apply its healthcheck now
Changed onThe service restarts briefly. Its volumes and configuration are kept: the original container is kept until the replacement holds the same data, and put back otherwise. Only for a running standalone service on a process that runs local containers: recreating starts the container, so a stopped service is left alone. Not available for clusters, worker databases or imported containers.
post/external-services/{id}/healthcheck/apply
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
External service ID
Response
The container was recreated
Example response
{
"applied": {
"interval_secs": 30,
"retries": 3,
"start_interval_secs": 2,
"start_period_secs": 90,
"timeout_secs": 5
},
"healthcheck": {
"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
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking