Prefixes the request location with "groups/:id/subgroups" and automatically translates group names into ids

gl_group_req(group, ...)

Arguments

group

The ID, name or URL-encoded path of the group

...

passed on to gl_get_group_id()

Value

A vector of character to be used as request for functions involving groups

Examples

if (FALSE) {
gl_group_req("test_group" = "<<your-group-id>>")
}