Version 0.0.4
This document describes the available API endpoints for the LensesAtPlay server.
Returns this HTML documentation page.
Content-Type: text/html
Returns the health status of the server as JSON. Returns 503 Service Unavailable if any health check fails.
{
"status": "ok",
"info": {
"disk": {
"status": "up"
}
},
"error": {},
"details": {
"disk": {
"status": "up"
}
}
}
Returns the health status of the server as a formatted HTML page. Useful for browser-based monitoring.
Content-Type: text/html
Returns the current version of the server.
{
"version": "0.0.1"
}
The server performs the following health checks:
| Check | Description | Failure Condition |
|---|---|---|
disk |
Disk storage availability | Fails if disk usage exceeds 90% |