docs(plan): fix API path for crowd flow endpoint

Update plan spec from /api/flow to /api/analytics/flow to match the actual implementation in both the Go backend and dashboard JavaScript.

Resolves bf-2jyk
This commit is contained in:
jedarden 2026-07-06 00:09:28 -04:00
parent 0a88630612
commit d00799593a

View file

@ -2730,7 +2730,7 @@ When security mode is armed via the MQTT `command/security_mode` subscription, i
|--------|------|---------|----------|
| `GET` | `/api/sleep` | `?person=<name>&limit=30` | `[{date, duration_m, onset_latency_m, restlessness_index, breathing_rate_avg, breathing_regularity}]` |
| `GET` | `/api/sleep/summary` | `?person=<name>` | Today's / last-night's summary |
| `GET` | `/api/flow` | `?period=24h&person=<name>` | `{cells:[{x,y,count,vx,vy,dwell_s}]}` |
| `GET` | `/api/analytics/flow` | `?period=24h&person=<name>` | `{cells:[{x,y,count,vx,vy,dwell_s}]}` |
| `GET` | `/api/localization/weights` | — | `[{link_id, weight}]` |
| `POST` | `/api/localization/weights/reset` | — | `{"ok":true}` |