New Quiz Items API in beta

The content in this blog is over six months old, and the comments are closed. For the most recent product updates and discussions, you're encouraged to explore newer posts from Instructure's Product Managers.

TamasBalogh
Instructure Alumni
Instructure Alumni
5
2283

3.png

Two weeks ago, we shared that the New Quiz CRUD operations API was coming to beta. And now, we're excited to announce that the New Quiz Items API is also ready for a beta release.

This new API includes the following:

  • Get a quiz item
  • List quiz items
  • Create a quiz item (excluding stimulus and bank related items)
  • Update a quiz item (excluding stimulus and bank related items)
  • Delete a quiz item
  • Get the media_upload_url for items: (for Hot spot questions)

Both APIs will be released to production on April 15th.

Known issues

Currently the API is not validating

  • The position of quiz entries (the position can be set to anything through the API)
  • The uniqueness of UUIDs in a single question (multiple choice questions can be created whose answers have the same UUID)
  • The keys inside of interaction_data and scoring_data (any data can be put into these hashes)

The content in this blog is over six months old, and the comments are closed. For the most recent product updates and discussions, you're encouraged to explore newer posts from Instructure's Product Managers.

5 Comments
SemblatGuillaum
Community Explorer

thank you for the update Tamas this is very good news

10618071
Community Participant

Thank you Tamas,

I don't see much discussion about submitting quiz attempts through the API. This is possible for the old quiz API. Is this possible in new quiz, or will it be possible?

My use case is giving different UIs to a student for a quiz. For example, flash cards, jeopardy, crossword puzzle, etc.

We would need to be able to pull questions, and submit responses to items and quizzes for a specific student. We would also need to see previous attempts so we can track improvement and progress. We were planning to build this tool years ago but paused when Canvas announced new quizzes.

I'm hoping we can start again soon, any information will be appreciated, thanks!

TamasBalogh
Instructure Alumni
Instructure Alumni
Author

Hi @10618071

Yes, submission actions API is one of the iteration we are planning to implement. Although we don't have a timeline when we will implement it at this moment, but it's definitely on the roadmap.

10618071
Community Participant

Thanks!

I missed that the first time I read that page.

Will it work the same as the current API, where you can submit the responses to individual items, so data does not get lost in the case of a network outage?

Denham
Community Participant

Will there be a way to access student responses via the API? Trying to figure out an approach for self and peer assessment within groups (the Canvas peer assessment doesn't meet our needs).