Get
Retrieve the device.
Authorizations
The token from the agent's discovery file (%ProgramData%\Miru\device-api\device-api.json on Windows). Required over loopback TCP (127.0.0.1:6478 by default on Windows) and accepted by every route; not used over the Unix socket.
Response
Successfully retrieved the device.
The object type, which is always device.
device "device"
ID of the device.
"dvc_123"
Name of the device.
"My Device"
The status of the device.
- Online: The miru agent is connected
- Offline: The miru agent is disconnected (e.g. network issues, device is powered off, etc.)
online, offline Timestamp of when the device was last synced.
"2021-01-01T00:00:00Z"
Timestamp of the last successful connection event with the backend.
"2021-01-01T00:00:00Z"
Timestamp of the last successful disconnection event with the backend.
"2021-01-01T00:00:00Z"

