GET /api/v1/materials/unit/{unitOfferingId}

Retrieve all learning materials from an entire unit offering, organized by topics and lessons.

Returns:

  • Unit offering information
  • Materials grouped by topic and lesson
  • Unit-level materials (not specific to lessons)
  • Comprehensive summary statistics

Use Cases:

  • Course material overview
  • Bulk download preparation
  • Course completion tracking
  • Material management dashboard

Path parameters

  • unitOfferingId string Required

    UUID of the unit offering to get materials for

Responses

  • 200

    Unit offering materials 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
GET /api/v1/materials/unit/{unitOfferingId}
curl \
 --request GET 'https://api.echoplain.social/api/v1/materials/unit/987fcdeb-51a2-4567-9876-543210987654'
Response examples (400)
{
  "message": "string",
  "error": "string",
  "statusCode": 42.0
}