mirror of
https://github.com/thomiceli/opengist.git
synced 2024-12-23 13:02:39 +00:00
14 lines
294 B
Markdown
14 lines
294 B
Markdown
|
# Healthcheck
|
||
|
|
||
|
A healthcheck is a simple HTTP GET request to the `/healthcheck` endpoint. It returns a `200 OK` response if the server is healthy.
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```shell
|
||
|
curl http://localhost:6157/healthcheck
|
||
|
```
|
||
|
|
||
|
```json
|
||
|
{"database":"ok","opengist":"ok","time":"2024-01-04T05:18:33+01:00"}
|
||
|
```
|