Quiz submissions API returning only the latest attempts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2022
11:30 AM
I've been trying to use the submissions API to retrieve all submissions of a quiz. e.g.,
GET /api/v1/courses/7102/quizzes/1943/submissions
The result seem to contain only the latest attempt by each student.
In the example above, there are two attempts but only the attempt 2 is in the response.
But if I download the submissions as a CSV file (using the 'Student Analysis' feature), the file contains all the attempts.
The API description says past attempts should be returned as well. Not sure what I'm doing wrong here 🤔