No description
Implement the GET /api/events endpoint with comprehensive query parameters: - since, until: time-range filtering (ISO8601 format) - type: filter by event type - person_id, zone_id: filter by person/zone (with aliases) - limit: pagination (max 500 per page) - mode: simple/expert mode (filters system events in simple mode) Acceptance criteria met: - Filtered queries use indexed columns (idx_events_time, idx_events_type, idx_events_zone, idx_events_person) - Time-range filtering returns correct subsets with since/until parameters - Person and zone filters return correct subsets with person_id/zone_id aliases - Mode parameter filters system events in simple mode (excludes: node_online, node_offline, ota_update, baseline_changed, system) - Pagination works correctly with before cursor and limit parameter Added comprehensive tests for: - Mode parameter (simple vs expert mode) - person_id and zone_id parameter aliases - Combined filters with mode parameter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .beads | ||
| .github/workflows | ||
| .marathon | ||
| dashboard | ||
| docs | ||
| firmware | ||
| mothership | ||
| tests/e2e | ||
| .dockerignore | ||
| .gitignore | ||
| .needle-predispatch-sha | ||
| .needle.yaml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| PROGRESS.md | ||
| VERSION | ||