How to get all re-submissions of an assignment

In the API documentation there is not a clear way to request all the submissions, including resubmissions, a student has made on an assignment. There is information on how many attempts the student has made (which some how let me know how many submissions + re-submissions the student has made).

I know it is possible since when as an instructor I attempt to grade the submissions the student has made I can select based on timestamp the submission to grade.