Skip to content

Commit

Permalink
Add endpoint JavaDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
ole-ve committed Aug 4, 2024
1 parent 51d6454 commit 0ad7020
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,14 @@ public ResponseEntity<Set<SuspiciousExamSessionsDTO>> getAllSuspiciousExamSessio
return ResponseEntity.ok(examSessionService.retrieveAllSuspiciousExamSessionsByExamId(examId, options, Optional.ofNullable(ipSubnet)));
}

/**
* GET /courses/{courseId}/exams/{examId}/deletion-summary : Get a summary of the deletion of an exam.
*
* @param courseId the id of the course
* @param examId the id of the exam
*
* @return the ResponseEntity with status 200 (OK) and with body a summary of the deletion of the exam
*/
@GetMapping("courses/{courseId}/exams/{examId}/deletion-summary")
@EnforceAtLeastInstructor
public ResponseEntity<ExamDeletionSummaryDTO> getDeletionSummary(@PathVariable long courseId, @PathVariable long examId) {
Expand Down

0 comments on commit 0ad7020

Please sign in to comment.