Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Found this content helpful? Log in or sign up to leave a like!
I'm seeing a situation where a call to get a users' courses (GET /api/v1/users/:user_id/courses) disagrees with the call to get all users in a course (GET /api/v1/courses/:course_id/users). The first call says user 12345 is in course 67890, for example, but the second call does not list that user. Any idea why this would be?
Could it be that one of the calls isn't including enrollments that haven't been accepted?
Also, do you need to add "?per_page=100" to the end of the call since it only returns the first 10 records by default?
To participate in the Instructure Community, you need to sign up or log in:
Sign In