Differences in pulling Assignment Submission vs Quiz Submission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am developing an application to view user course data.
I am currently working on implementing Quizzes, which I've decided to implement as a subset of Assignments. Think a superclass "Assignable" with superclass "Submittable"
I've noticed that using the `assignments?include=submissions' endpoint returns Submissions as an Array/List. But using `quizzes/{ID}/submissions` returns submission as a Dictionary. https://canvas.instructure.com/doc/api/quiz_submissions.html
Is there a particular reason why this decision was made? Or is there a better way to gather QuizSubmissions? Otherwise, this disrupts my implementation logic. Essentially, I want to know how many active submissions to make a decision in whether or not to offer to start the quiz or resume the quiz.