[Implemented] Unimus API: get_device response

Post your feature requests here
Post Reply
edward.fingleton
Posts: 13
Joined: Fri Jan 08, 2021 12:27 pm

Wed Jan 13, 2021 4:01 pm

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
User avatar
Tomas
Posts: 1206
Joined: Sat Jun 25, 2016 12:33 pm

Wed Jan 13, 2021 4:19 pm

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.
Post Reply