dragonsbootcampllc / DragonsBootcampLMS

6 stars 0 forks source link

Implement CRUD API endpoints for managing Content within a lecture. #51

Closed mohvmedezzvt closed 2 months ago

mohvmedezzvt commented 2 months ago

Added:

Create Content: POST /api/lecture/:id/content – Add content (image, video link, or text) to a lecture. Only one content type is required per content, so a validator is created. Read Content: GET /api/lecture/:id/content – Retrieve all content for a lecture with pagination. Read Single Content: GET /api/lecture/:id/content/:contentId – Fetch specific content by ID. Update Content: PUT /api/lecture/:id/content/:contentId – Update existing content in a lecture.