API to retrieve ALL Quizzes (Classic and New)

Jump to solution
PaulJanzen
Partner
Partner

I am looking for an API way to retrieve all of the Quizzes (Classic and New) from a Course. I am quite certain that I can do so using the Assignments API endpoint. But I want to make sure that this is the correct approach. Will this approach always include ALL quizzes (plus other assignment types)?

[I fully understand that New Quizzes are not yet fully supported in the Canvas API]

Labels (1)
0 Likes
1 Solution
NicoletteStaley
Instructure
Instructure

Unfortunately, there is not currently an API call for retrieving all the Quizzes (both New and Classic) in Canvas.  As you mentioned, the New Quizzes are not currently supported by the Canvas API.  Using the List Assignments API  would be the provided the closest means of achieving your desired results.  You would then need to filter through those results to gather the New Quizzes.  You would use the List Quizzes API to pull the Classic Quizzes in the course;  Classic Quizzes are not included in the List Assignments API, so both steps would have to be taken to access determine all the quizzes in the course.

View solution in original post

0 Likes