Feel free to make PRs to fix/improve the discourse_api
gem
The Discourse API is designed around the UI. It happens that admins
- often add users to a group via their username (hence the
add_members
method which requires a list ofusernames
) - rarely remove users from a group and do so by clicking the button next to the user (hence the
remove_member
method which requires auser_id
)
Again, feel free to make PRs to update the Discourse API if you want to:
- add the
add_member
/remove_members
methods - allow either of these methods to take a
username
or auser_id
as parameter.