Commit ecbda1af by Torkel Ödegaard Committed by GitHub

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

Document /api/health
parents aaad9e3e 1fc5ea18
......@@ -83,3 +83,28 @@ 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"
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment