Get aggregated materials for a student or unit offering

GET /api/v1/student/{studentId}/materials

Retrieve materials for a specific student unit or a whole unit offering. Attach topic and lesson titles. Supports filtering by doctype and studentUnit status, pagination, and optionally include student units (ACTIVE first).

Path parameters

  • studentId string Required

Query parameters

  • studentUnitId string Required
  • unitOfferingId string Required
  • status string Required
  • doctype string Required
  • page string Required
  • pageSize string Required
  • includeStudentUnits string Required

Responses

  • 200
  • 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
GET /api/v1/student/{studentId}/materials
curl \
 --request GET 'https://api.echoplain.social/api/v1/student/{studentId}/materials?studentUnitId=string&unitOfferingId=string&status=string&doctype=string&page=string&pageSize=string&includeStudentUnits=string'
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}