Submission endpoint: getSubmissionsOfAssignmentForGroup

NOTE: We were not sure if both of these methods should be on LC, since the first one can be fairly easily reused for the second one.

Endpoint (Method)

name: getSubmissionsOfAssignmentForGroup

Params Type Comment
Input Long groupID
Long assignmentID
Output SubmissionViewDTO submissionDTO
What does this method do?
  1. This method should retrieve submissions of a given assignment for a given group, best if ordered by submissionTime, from the latest to the oldest. This could be done by looking through the List of Submissions of the group and filter out those that match the given assignment.

Endpoint (Method)

name: getLatestSubmissionOfAssignmentForGroup

Params Type Comment
Input Long groupID
Long assignmentID
Output SubmissionViewDTO submissionDTO
What does this method do?
  1. This method retrieves the latest submissions for the given assignment for the given group. This could be done by looking through the List of Submissions of the group, filter out those that match the given assignment, and select the one with the latest submission time.
Edited May 16, 2020 by Natália Struharová
Assignee Loading
Time tracking Loading