health API methods
Check the health of the web process for the instance.
Get basic health status as JSON
Check on the state of the web process for the Mastodon instance. This is useful for simple monitoring. The endpoint checks that the web process responds to requests. It also checks that it can successfully connect to the database, and to the cache.
Responses other than HTTP 200 should be interpreted as some element of the web process not being healthy.
GET /health HTTP/1.1
Returns: Health status
OAuth: Public
Version history:
3.0.0 - added
Request
Query parameters
none
Response
200: OK
{
"status": "UP"
}
See also
app/controllers/health_controller.rbLast updated