Retrieve detailed information about a specific exam including questions, settings, and metadata. Access level determines the amount of detail returned.
GET
/api/v1/exam/{id}
curl \
--request GET 'http://localhost:3500/api/v1/exam/123e4567-e89b-12d3-a456-426614174000'
Response examples (200)
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"title": "Midterm Exam - Data Structures",
"status": "SCHEDULED",
"endTime": "2025-11-20T11:00:00Z",
"questions": [],
"startTime": "2025-11-20T09:00:00Z",
"totalMarks": 100,
"description": "Comprehensive exam covering all topics in the first half of the semester",
"passingMarks": 50,
"durationMinutes": 120
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}