Closed jbaldwinroberts closed 7 years ago
@craig-mulligan , not sure if I understand the question? The state gets set to offline e.g. "Status":"Offline"
Yeap that's what I was wondering. It just differs from the resin-api slightly in that we have device states set by the supervisor ('idle'/'updating') but also have a state set from the api based on the connectivity is_online
so something can be both is_online: false
and status: "Idle"
. So just wanted to clarify how this was handled in the enms case.
Change-type: minor
Added a GET
/v1/devices
endpoint that returns all dependent devices. Improved the GET/v1/device/{uuid}
endpoint to enable requesting a device by either itslocal_id
orresin_id
Connects to #188