Get a user's previous test attempts for a unit
Endpoint URL
GET /api/v2/results/unit/:unitId/user/:userId/attempts
Returns the user's previous (archived) test attempts for a given test unit, ordered oldest-first. Answer strings are returned raw, without HTML entity encoding.
Request
Responses
- 200
- 400
- 403
- 404
- 409
Successful response
Invalid unit or user identifier
The course is no longer accessible
The unit or user was not found, the user is not enrolled in the course, the unit is locked by course traversal rules, or the user has no progress for this test
The unit is not a test, or the user is not active