Canvas New Quizzes/API?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I feel like the community will give me a clearer answer than Canvas support. Our schools is working on integrating Simple Syllabus and we were setting up the API key. I asked if the Quizzes endpoint included both New Quizzes and Classic Quizzes since our school is transitioning to use both. Our rep was going to look into it, but I did some testing in my sandbox course using the regular quizzes endpoint GET /api/quiz/v1/courses/:course_id/quizzes. Using this, I realized only classic quizzes were pulling from my sandbox course. I tried looking for New Quiz documentation, which I see is listed separately in the documentation, but it looks like it has the same endpoint. https://canvas.instructure.com/doc/api/new_quizzes.html#method.new_quizzes/quizzes_api.show
Should New Quizzes be showing in this GET call? If the calls are the same, why is there separate documentation for "New Quizzes" and "Quizzes"? Or is this still an Instructure work in progress?
Thanks in advance for any input!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe New Quizzes is still a work in progress. Based on my testing, it has some limitations (e.g., the "List quiz items" endpoint returns blank, and editing quizzes only works for those without submissions).
There’s a difference between the two endpoints: Classic Quizzes use /api/v1/courses/...
, while New Quizzes use /api/quiz/v1/courses/...
You can use the following endpoint to pull a list of all quizzes (including both Classic and New Quizzes) within a course: GET /api/v1/courses/id/all_quizzes/