Allow filtering by group_id in more endpoints

@jimabramson @andy-armstrong @dan-f