REST API for sensorDB