Add minimal dashboard page served at /
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user