GET /api/v1/student/{studentId}/exams

Retrieve all scheduled exams for a specific student - Legacy endpoint

Path parameters

  • studentId string Required

    Unique identifier of the student

Responses

  • 200 application/json

    Student exams retrieved successfully

    Hide response attributes Show response attributes object
    • message string Required

      Success message

    • exams array[object] Required

      Student exams

      Hide exams attributes Show exams attributes object
      • id string Required

        Exam ID

      • title string Required

        Exam title

      • releaseDate string Required

        Release date

      • dueDate string Required

        Due date

      • status string Required

        Exam status

      • durationMinutes number Required

        Duration in minutes

      • maxAttempts number Required

        Maximum attempts allowed

      • unitOfferingId string Required

        Unit offering ID

  • 400 application/json

    Default bad request error 400 response

    Hide response attributes Show response attributes object
    • message string Required

      Response message

    • error string Required
    • statusCode number Required
  • 404

    Student not found

GET /api/v1/student/{studentId}/exams
curl \
 --request GET 'http://localhost:3500/api/v1/student/uuid-string/exams'
Response examples (200)
{
  "message": "string",
  "exams": [
    {
      "id": "uuid-string",
      "title": "Final Examination",
      "releaseDate": "2025-12-01T09:00:00.000Z",
      "dueDate": "2025-12-01T12:00:00.000Z",
      "status": "string",
      "durationMinutes": 180,
      "maxAttempts": 1,
      "unitOfferingId": "uuid-string"
    }
  ]
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}