I am calling enrollment api for getting all the students in the course by using course_id, but it only gives 10 enrolments and actually course have 16 students in it.
"/api/v1/courses/".$course_id."/enrollments/";
Please help me, how can i list all the students enrolled in a course?
Solved! Go to Solution.
Adding per_page=100 worked for me
Adding per_page=100 worked for me
I also had this problem when pulling course enrollments. I eventually had to paginate my API responses in order to pull all the information necessary. I hope this helps.
Jason