Retrieve comprehensive assessment statistics including status breakdown, type distribution, performance metrics, and completion rates
GET
/api/v1/student/{studentId}/assessments/statistics
curl \
--request GET 'http://localhost:3500/api/v1/student/uuid-string/assessments/statistics'
Response examples (200)
{
"message": "string",
"success": true,
"byStatus": [
{
"status": "RELEASED",
"count": 5,
"percentage": 25.5
}
],
"byType": [
{
"type": "assignment",
"count": 8,
"percentage": 40
}
],
"performance": {
"totalAttempted": 12,
"totalCompleted": 10,
"averageScore": 78.5,
"highestScore": 95,
"lowestScore": 62,
"pendingCount": 3,
"overdueCount": 1
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}