REST API for systems, sensors, logs, control commands, and data-service bridge integration
JWT auth via /api/auth/* routes.
All /api/* endpoints require Authorization: Bearer <token> unless noted.
Root-level probes available at /health, /health/live, /health/ready.
Sensor namespace /sensor is exposed for real-time sensor communication.
?extension=.DAT)start, end, max_points)serial_number)# 1) Login and get token
curl -X POST http://localhost:5000/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email":"user@example.com","password":"password123"}'
# 2) Use token for protected APIs
curl http://localhost:5000/api/systems \
-H "Authorization: Bearer <TOKEN>"
# 3) Discover sensors from data-service for a system
curl -X POST http://localhost:5000/api/data-service/discover/1 \
-H "Authorization: Bearer <TOKEN>"