Retrieves all CATs associated with a specific unit offering
GET
/api/v1/cats/unit/{unit}
curl \
--request GET 'https://api.echoplain.social/api/v1/cats/unit/123e4567-e89b-12d3-a456-426614174000'
Response examples (200)
{
"cats": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"marks": 30,
"title": "Midterm CAT 1",
"status": "RELEASED",
"dueDate": "2025-10-15T11:00:00.000Z",
"description": "First continuous assessment test",
"releaseDate": "2025-10-15T09:00:00.000Z"
}
],
"total": 2,
"message": "CATs found"
}
Response examples (400)
{
"message": "string",
"error": "string",
"statusCode": 42.0
}