Would it be possible to add a REST endpoint for querying a user's Course Group memberships?
At the moment, to determine the groups that a user belongs to, we have to use
then iterate over the results of that with
and iterate over these results with
leading to potentially many queries for a single user, eg: 21 queries if the user is in four subjects with four groups in each.
If we could have an endpoint that was something like:
that returned a list of group IDs and their associated subjects, it would drastically reduce the number of queries we would need to make to ensure that a particular user's information is in agreement with our back-end systems.
|Product Version (if applicable):||1|