diff options
| author | Fuwn <[email protected]> | 2026-01-20 16:49:50 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 16:49:50 -0800 |
| commit | 31cc0a33a378dbc8cb0e3c70b40d6570f3bed2e4 (patch) | |
| tree | 6de6f3354af8095be83740b3b24ca1490892a999 /go.mod | |
| parent | perf: Optimize API refresh to single /api/page request (diff) | |
| download | kaze-31cc0a33a378dbc8cb0e3c70b40d6570f3bed2e4.tar.xz kaze-31cc0a33a378dbc8cb0e3c70b40d6570f3bed2e4.zip | |
feat: Add new API endpoints (health, summary, uptime, incidents)
New endpoints:
- GET /api/health - Simple health check, always public (for load balancers)
- GET /api/summary - Lightweight status overview (counts + overall status)
- GET /api/uptime/{name}?period=1h|24h|7d|30d|90d - Historical uptime stats
- GET /api/incidents?filter=all|active|resolved|scheduled - List incidents
All new endpoints (except /api/health) follow api.access rules.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions