Health
Service health check and monitoring endpoints.
API Endpoints
| Method | Path | Auth | Description |
|---|---|---|---|
GET | /api/health | No | Service health check |
GET | /api/docs | No | Swagger UI (interactive API documentation) |
GET | /uploads/* | No | Static files (local uploads) |
Health Check
Returns service status including database connectivity and uptime:
json
{
"status": "ok",
"timestamp": "2025-01-01T00:00:00.000Z",
"uptime": 3600,
"database": "connected"
}In production, error details are hidden for security.