Proxy /api/v1/events/stats in FastAPI - currently returns 404 #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-18T22:32:30Z - https://github.com/coilysiren/eco-replay/issues/7
Problem - README documents
GET /api/v1/events/statsas a public endpoint ({ ready, total }), and the mod implements it. But the FastAPI app atsrc/eco_replay/main.pyonly proxies/api/v1/events, socurl http://localhost:4200/api/v1/events/statsreturns{"detail":"Not Found"}.Repro
Fix - Add a
/api/v1/events/statsproxy route inmain.pythat forwards to the upstream/statsendpoint with the sameX-API-Keyheader, same mock-fallback shape as the events proxy.Found while smoke-testing the live-mode wire-up.