How can I get all the submissions a student has made on a particular assignment, re-submissions as well

Jump to solution
hdelrio
Community Novice

I am trying to get all submissions a student has made by using the following:

GET /api/v1/courses/:course_id/assignments/:assignment_id/submissions

Unfortunately this only returns the last submission each student has made. On the other hand using CANVAS when I try to grade the assignment I can see all the submissions the student has made using a timestamp.

How can I achieve this (timestamp) using the API?

1 Solution
pklove
Community Champion

To include all submissions, add ?include[]=submission_history

View solution in original post