Module API not returning quiz items

10618071
Community Participant

I am having trouble with the module API, it has been working for years and this semester it broke

this query

https://uvu.instructure.com/api/v1/courses/381898/modules?include[]=items&include[]=content_details&...

will not return quizzes in the module items

but this one will.

https://uvu.instructure.com/api/v1/courses/381898/modules?include[]=items&include[]=content_details&...

Does anything jump out at you that I am doing wrong? The queries have worked for years but suddenly this semester they don't.

The quizzes show up in the canvas modules interface for the student, but not the json string from the API

Did something change?

If I change the teacher token for the student token in the second call, it breaks it. It appears that the student token does not return quizzes.

The quizzes will show up if I use the student token to ask for the module items, but that will take a major rewrite to pull each module items individually and pull them in to the interface and students are using the system now.

Any help would be appreciated!

0 Likes