API New Quiz ModuleItem Type

Jump to solution
ChristineBoard
Community Explorer

Is there any way currently or planned for the Modules API to distinguish between new quizzes and other assignments? We are getting all new quiz moduleItem objects with a type of "Assignment" while classic quizzes have "Quiz."

0 Likes
1 Solution
stimme
Community Coach
Community Coach

It looks to me like there's a boolean quiz_lti key in module items returned by the endpoint to list module items (https://canvas.emory.edu/doc/api/modules.html#method.context_module_items_api.index). It appears to be true for New Quizzes (presumably to help present special options in the triple dot menu for New Quizzes module items). This should help to distinguish between New Quizzes & other assignments.

View solution in original post

0 Likes