Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
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, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In