particle-iot / cloud

A place to discuss issues, enhancements, features for: API, Cloud Compiler, Web IDE (Build), Webhooks, Console, and Device Setup
2 stars 0 forks source link

Feature Request: Add groups to API response of 'List Devices' call #63

Open monkbroc opened 5 years ago

monkbroc commented 5 years ago

Group tags are included in the response to ‘listDevices’ calls to the product endpoint and to ‘getDevice’ calls to the device endpoint, but are not included with ‘listDevices’ calls to the device endpoint. Is this something that could be added?

The downside of the product endpoint is it only works for members of the product team and not client device owners. I prefer not to use singular ‘getDevice’ calls to the device endpoint because that forces the my webapps to make an API call per device instead of per product.

From rkast4321 on the community forum: https://community.particle.io/t/feature-request-add-groups-to-api-response-of-list-devices-call/49451