Register for InstructureCon25 • Passes include access to all sessions, the expo hall, entertainment and networking events, meals, and extraterrestrial encounters.
Found this content helpful? Log in or sign up to leave a like!
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."
Solved! Go to Solution.
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.
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.
Fantastic, that was just what I needed!
To interact with Panda Bot in the Instructure Community, you need to sign up or log in:
Sign In