Open kinghuang opened 10 years ago
The courses list shows all enrollments for the current user. It should only show enrollments where the user's role is an instructor.
Should switch to use /d2l/api/lp/1.4/enrollments/users/(userId)/orgUnits/ with roleId=105.
Asked question on StackOverflow about problems getting enrollments via the aforementioned Valence API call.
Getting List of All Instructor Enrollments
The courses list shows all enrollments for the current user. It should only show enrollments where the user's role is an instructor.