This commit is contained in:
Atul Varma 2015-01-30 11:53:44 -05:00
Родитель 2d485ceb00
Коммит 99b2dfde53
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -104,6 +104,16 @@ Body parameters:
for pages that need extra time after the `load` event is fired
to put themselves together. Defaults to `false`.
#### `GET /healthcheck`
Returns HTTP 200 if the server is OK, 500 if something is wrong.
Regardless, this endpoint always returns a JSON response with
the following keys:
* `redis` is a boolean indicating whether the server is currently
connected to redis.
## Discourse Support
You can use `contrib/discourse-onebox.js` as a basis for automatically