Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Management API : groups of gateway related methods #1961

Open
jbtrystram opened this issue May 13, 2020 · 0 comments
Open

Management API : groups of gateway related methods #1961

jbtrystram opened this issue May 13, 2020 · 0 comments

Comments

@jbtrystram
Copy link
Contributor

The gateways groups feature requires to add a few API calls. In a UI workflow, when creating a devices, the user can enter the ID of a gateway group for via-group or member-of.

Here is a screenshot of a design draft : https://marvelapp.com/4g344f5/screen/69036293

However, the there is no API function to retrieve a list of the existing gateway groups, which makes the problem of having a device not connecting because of a typo in the "via-group" field very plausible.

Doing a getAll operation on the devices and parsing the data to build a group list would be very expensive, so I suggest to add a new endpoint to the api. It could be called "groups" and to manage groups of gateways, such as creating groups, get all devices in a group, and delete groups.

Also, an extra endpoint doesn't break the existing API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant