Quiz submissions API returning only the latest attempts

DamithR
Community Member

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.

api-result.png

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 🤔

Labels (1)
0 Likes