We need to get groups in a course, but we have several groups with no members, which we are not interested in. Is there a way we can get all groups with a mebers_count greater than 0.
As far as we can see there are no sorting options on endpoint /api/v1/courses/:course_id/groups.
We need to get all members, for all groups (with members), for all courses, this takes a lot of time and and our plan was to sort the groups on members_count and order them by desc. That way, as soon as the last group on the page (paginated result) we could skip the rest of the calls. But it seems like this sorting is not possible.
Any suggestions to what else we can do?