Commit ecbda1af by Torkel Ödegaard Committed by GitHub

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

Document /api/health
parents aaad9e3e 1fc5ea18
......@@ -82,4 +82,29 @@ HTTP/1.1 200
Content-Type: application/json
{"message": "Logged in"}
```
\ No newline at end of file
```
# 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