I'm trying to use the Canvas API to get every course that appears in Canvas' "All Courses" section. Specifically, the courses in the "Past Enrollments" section here:
I've tried using both
- /v1/courses and,
- v1/users/[UserID]/enrollments
But both return empty lists. This is driving me insane, and I have no idea how to access these courses. I even tried checking the Network requests coming into this page, and they were completely unhelpful. Is this not an endpoint that normal people can access? Is it cached data from an unrelated endpoint that my university supplies? Is past enrollemnts exposed to the LMS at all? Please to dear lord someone tell me what I'm doing wrong.