Devices API should indicate if phone is in lost mode
The following API
GET https://a.simplemdm.com/api/v1/devices
Lists detailed information about the device status under attributes
.
We would like to see an additional attribute for when the device was placed in lost mode and if the device is currently in lost mode.
For example:
{
"is_in_lost_mode": true,
"lost_mode_active_at": "2021-07-13T16:00:54.000-07:00",
}
Since we have a large fleet of devices, we periodically place some of that fleet into lost mode if they go missing, using your existing API.
We would like to build out reporting which would require having lost mode information available in the API.
The "lost_mode_enabled" key has been added to the Devices API.
The Logs API can be used to get "lost_mode.enabled" logs to see when the device issued a response indicating that it received the "Enable Lost Mode" command successfully.
-
Chris E. commented
This is incredible! Thank you!