Bdenouden / IN4398-Advanced-Practical-IoT-and-Seminar

GNU General Public License v3.0
0 stars 0 forks source link

API: /new_device #16

Closed Bdenouden closed 4 years ago

Bdenouden commented 4 years ago

Triggered when a new device is detected by the server, should return the settings entered by the user. Since this process can take some time, a websocket might be useful to update in realtime

mdjong1 commented 4 years ago

Currently /api/new_device takes as inputs a string API_KEY containing a tbd api key authentication, and a string node_id which contains the id of the node to be added. This will then be stored to the sensor_nodes table