Ingest Backend — Endpoints
Status: OK — 15/06/2026 17:19:25
Endpoints
- GET /state — retourne le JSON d'état courant (lecture).
- POST /ingest — endpoint pour le bot (header
x-bot-token requis).
Exemple :
curl -X POST https://your-ingest.example/ingest \
-H "Content-Type: application/json" \
-H "x-bot-token: <BOT_TO_UI_TOKEN>" \
--data '{"updatedAt":"2026-04-24T12:00:00Z","some":"value"}'
- GET /events — Server-Sent Events (SSE) pour recevoir les mises à jour
en temps réel.
- GET /health — status et métriques basiques (uptime, clients SSE, last
state).