RESTful API for managing structural sensor systems and accessing sensor data
Organize sensors into hierarchical systems and gateways
Automatic polling and download of new sensor data files from flat folder structure
Local file storage mirroring FTP sensor folder structure
Convert CSV files to JSON format via REST endpoints
?extension=.DAT to filter by extension
?path=SN-001/seismic_data.DAT
?q=micrdata
Try these example requests:
# Get all systems
curl http://localhost:5000/api/systems
# Get file content as JSON
curl "http://localhost:5000/api/files/content?path=SN-001/data.DAT"
# Get latest sensor data
curl http://localhost:5000/api/sensors/SN-1-01/latest
# Check system status
curl http://localhost:5000/status
Configure the backend using the .env file: