Device ID

Device ID

⚠️
NOTE: This part of the API is still under construction, yet the interface as described below is expected to be somewhat stable.

Devices have an ID used when making REST calls or when talking to the MQTT API. Each physical device has a sticker with its serial number. To retrieve a device ID for a serial number, use the following endpoint.

GET

Endpoint

GET /device-ids/<serialNumber>

Expected responses

200 OK

{
  "id": "0d1ae5af776214ecd4ee9fb757478147aaab86b3d2c858b8c211da1494b16a74",
  "livyLite": false
}
  • id: The device ID associated with the given serial number.
  • livyLite: Whether the device is a Livy Lite or not. Lites don’t have a camera.

404 Not Found

No device with the given serial number was found.