Retrieve the last accessed lesson and overall progress to allow students to resume exactly where they left off. Perfect for implementing "Continue Learning" features.
GET
/api/v1/student/{studentId}/units/{studentUnitId}/resume
curl \
--request GET 'http://localhost:3500/api/v1/student/uuid-string/units/uuid-string/resume'
Response examples (200)
{
"message": "string",
"success": true,
"resumeData": {
"studentUnitId": "uuid-string",
"lastLessonId": "uuid-string",
"lastLessonTitle": "Introduction to Arrays",
"lastLessonProgress": 75,
"overallProgress": 45,
"totalLessons": 20,
"completedLessons": 9,
"lastAccessedAt": "2025-10-03T10:30:00.000Z"
}
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}