Merge pull request #15068 from finkr/finkr-patch-doc-healthapi

Document /api/health
This commit is contained in:
Torkel Ödegaard
2019-01-26 07:06:03 +01:00
committed by GitHub
+26 -1
View File
@@ -82,4 +82,29 @@ HTTP/1.1 200
Content-Type: application/json
{"message": "Logged in"}
```
```
# Health API
## Returns health information about Grafana
`GET /api/health`
**Example Request**
```http
GET /api/health
Accept: application/json
```
**Example Response**:
```http
HTTP/1.1 200 OK
{
"commit": "087143285",
"database": "ok",
"version": "5.1.3"
}
```