spaxel/mothership/cmd
jedarden 37571ece97 api/notifications: register preview endpoint in main.go
The GET /api/notifications/preview endpoint was already implemented
in internal/api/notifications.go but was never registered in main.go.
This commit wires up the NotificationsHandler to enable the test
thumbnail endpoint for UI development and QA.

The endpoint accepts query parameters:
- type: notification type (fall, anomaly, zone_enter, sleep)
- person: person name (optional, defaults to "Alice")

It calls the appropriate Generate*Thumbnail function from the
render package and returns PNG bytes with Content-Type: image/png.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 13:09:54 -04:00
..
mothership api/notifications: register preview endpoint in main.go 2026-05-05 13:09:54 -04:00
sim test: implement acceptance scenario integration tests (AS-1 through AS-6) 2026-05-05 07:38:16 -04:00
_parse_check.go feat: verify dashboard WebSocket feed supports events, alerts, BLE, triggers, health 2026-04-07 09:54:14 -04:00