Rest endpoints - Torrib/EIT GitHub Wiki

List of all device names

/devices/

Example return
{"status": "success", "message": "{"devices": ["It44", "L33tHaxor"]}"}

Get device id

/devicename/[device name]

Example return
{"status": "success", "message": "4"}

Send POST messages to the device

/device/[id]