twilio / OpenVBX

OpenVBX is a web-based open source phone system for business.
http://openvbx.org
Other
699 stars 342 forks source link

Add endpoint to get current users in a group #285

Closed joepikowski closed 9 years ago

joepikowski commented 10 years ago

Added an endpoint for /accounts/group/get_group_users to be able to pull the user IDs of current members of a given group ID.

/accounts/group/get only returns some meta info about the group itself, not its members.

Hitting /accounts/group_user/add and /accounts/group_user/delete allows you to add/remove users from an group, but there wasn't a way to grab the current membership. Built off of the existing VBX_Group::get_user_ids method.

Gipetto commented 10 years ago

Seems fine. I'll get this merged soon.

Gipetto commented 9 years ago

Merged in to the develop branch. Will get in to master with the next release.