Has anyone had success with the New Quiz Items API calls?

149 views
Skip to first unread message

Ken Mayer

unread,
Oct 31, 2023, 2:30:51 PM10/31/23
to Canvas LMS Users
Hi folks,
I'm trying to work with all the items in a course's New Quizzes, but I can't get the new endpoint to work for me.
The issue may be that I am using the canvasapi python library for authentication and most of my work, including fetching all the quizzes, but that library doesn't have an endpoint for the New Quiz Items, so I am using the requests libary for that.

But even when I use the pre-authenticated browser inspect console to call 
GET /api/quiz/v1/courses/:course_id/quizzes/:assignment_id/items
I just get an empty set response "[ ]", even when I know the New Quiz has dozens of questions.
Has anyone had experience pulling info about New Quizzes using Canvas API?
We're trying to get a sense of how much our faculty uses Classic vs. New Quizzes and how they use Canvas in general.
Thanks so much!
Ken

Andrey Gangan

unread,
Nov 6, 2023, 1:52:43 AM11/6/23
to Canvas LMS Users
selhosted canvas?
check this link then
вторник, 31 октября 2023 г. в 20:30:51 UTC+2, Ken Mayer:

Ken Mayer

unread,
Nov 7, 2023, 3:22:34 PM11/7/23
to Canvas LMS Users
Thank you so much!
Alas, we are not self-hosted.  Also, it appears that even the base new quizzes API call does not work. I can only access New Quizzes by looking at assignments for the attribute that marks them as lti-quizzes.
Reply all
Reply to author
Forward
0 new messages