GET /api/v1/cats/{id}/attempts/{student}

Retrieves all attempts made by a specific student for a particular CAT, including scores and submission details.

Path parameters

  • id string Required

    CAT ID

  • student string Required

    Student ID

Responses

  • 200 application/json

    Student attempts retrieved successfully

  • 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

    CAT or student not found, or no attempts found

GET /api/v1/cats/{id}/attempts/{student}
curl \
 --request GET 'https://api.echoplain.social/api/v1/cats/123e4567-e89b-12d3-a456-426614174000/attempts/student123'
Response examples (200)
{
  "total": 2,
  "message": "Student attempts found",
  "attempts": [
    {
      "id": "789e0123-e89b-12d3-a456-426614174002",
      "status": "COMPLETED",
      "startedAt": "2025-10-15T09:30:00.000Z",
      "percentage": 83.33,
      "totalMarks": 30,
      "scoredMarks": 25,
      "submittedAt": "2025-10-15T10:45:00.000Z",
      "attemptNumber": 1
    }
  ]
}
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}