Add minimal dashboard page served at /
Test and publish / test (push) Successful in 15s
Test and publish / publish (push) Successful in 3m10s

Single embedded HTML page that reads the daily summary and activities
endpoints with a user-supplied API key: goals, totals by kind, top labels
and a timeline for the selected day.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 21:02:11 +01:00
co-authored by Claude Opus 5.5
parent f4ce04875c
commit 06800edd91
4 changed files with 183 additions and 0 deletions
+1
View File
@@ -89,6 +89,7 @@ All `/api/v1` routes require `Authorization: Bearer <key>`.
| GET | `/api/v1/activities?from=&to=&source=&kind=&limit=` | RFC3339 times; defaults to the last 24h |
| GET | `/api/v1/summary/daily?date=YYYY-MM-DD` | totals per label and kind, plus goal results |
| GET | `/healthz`, `/readyz` | no auth |
| GET | `/` | dashboard page; enter any API key to view a day's goals, totals and timeline |
The event batch format is shared by all `*/events` endpoints. A batch holds at most 1000 events.