Page 1 of 1

[Implemented] Unimus API: get_device response

Posted: Wed Jan 13, 2021 4:01 pm
by edward.fingleton
Hi,

Please could the get_device endpoint provide the 'Last job status' and 'Last stored backup'. It would also be very useful to have the last time it checked for backup changes successfully.

Thanks,

Ed

Re: Unimus API: get_device response

Posted: Wed Jan 13, 2021 4:19 pm
by Tomas
Hi,

Already scheduled for 2.1 - "/devices" endpoint in the API will respond with the last job status.

As for last successful backup for a device, you can check the "/devices/:deviceId/backups/latest" endpoint. https://wiki.unimus.net/display/UNPUB/F ... testbackup

You can check "validSince" and "validUntil" to see when the last successful backup occurred on the device.