Groups
Like users, groups have a simplified interface.
GETs (reading data)
Resource | Description |
---|---|
/groups |
Get a list of groups. |
/groups/{groupname} |
Get a specific group, given a group name. |
/groups/{groupname}/users |
Get the users for a group, given a group name. |
/groups/{groupname}/categories |
Get the categories associated with a group, given a group name. |
PUTs (modifying data)
Resource | Description |
---|---|
/groups/{groupname} |
Update the metadata of a group (for example, change the |
/groups/{groupname}/users/{username} |
Add a user to the group, given a group name and username. |
/groups/{groupname}/categories/{categoryname} |
Associate a category with the group, given a group name and category name. |