Restful API - Devices with Status

Posted on
Fri Sep 23, 2016 4:46 am
steveoidm offline
Posts: 29
Joined: Jun 28, 2015

Restful API - Devices with Status

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.

Posted on
Fri Sep 23, 2016 7:20 am
steveoidm offline
Posts: 29
Joined: Jun 28, 2015

Re: Restful API - Devices with Status

Also, the device id should be part of the devices response. Is any work being done on the rest api for v7?

Posted on
Fri Sep 23, 2016 8:39 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Restful API - Devices with Status

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests