Page 1 of 1

Restful API - Devices with Status

PostPosted: Fri Sep 23, 2016 4:46 am
by steveoidm
Is there a way to get a single response of all devices together with their status? At the moment it looks like I have to call devices, then loop through them and request each individual status.

If not something like /devices/status would be a good addition to the api. Would help if you are using something like React to display a device / status page.

Re: Restful API - Devices with Status

PostPosted: Fri Sep 23, 2016 7:20 am
by steveoidm
Also, the device id should be part of the devices response. Is any work being done on the rest api for v7?

Re: Restful API - Devices with Status

PostPosted: Fri Sep 23, 2016 8:39 am
by jay (support)
We've got a task on our To Do list to do a big overhaul of the RESTful API (it was developed before Indigo 5, device IDs, and plugins) to move it on top of the IOM. It is a huge undertaking though so it won't be part of 7.0.