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.
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.