Our devices are configured to check for updates every 30 minutes. You can see this in the devices tab on hosted.mender.io web U/I where “Latest activity” is never more than 30 minutes ago unless device has communication issues. I’m trying to get the last check in time programmatically using the inventory API, but the check_in_time
property in the response can be up to 24 hours old. The updated_ts
property is even older. How can I get the “real” check-n time displayed on the web U/I?
Hi @hbruce,
There is a distinction between the devices inventory, and its authentication status. The updated_ts
of the inventory reflects the last modification to the inventory, whereas the updated_ts
of the authentication reflects the last check in.
You should be able to get the latest state through this endpoint: Mender API docs
Greetz,
Josef