POST - Add Additional Lesson Plan Enrichment Block
This API allows authenticated users to add an additional enrichment block to a lesson plan.
How to Use:
- Call
POST /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}with the additional block data and duration. - The API validates the lesson plan ID and ensures content generation is finalized.
- If the additional block generation is not already in progress or completed, the system triggers the processing task asynchronously and returns a success message.
Example Scenario: A teacher wants to add a ‘Reflection Feedback’ block to a lesson plan:
- They submit the block data and duration using this API.
- The system validates the lesson plan and content generation status.
- If valid, the system starts processing the additional block.
- The teacher receives a message confirming the additional block processing has started.
POST
Add one or more additional blocks to a lesson plan.
Documentation Index
Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
UUID of the lesson plan to which the additional blocks will be added.
Body
application/json
List of additional block identifiers and the total duration to add to the lesson plan.
Response
Lesson plan additional block processing started successfully.
Previous
GET - Retrieve Additional Lesson Plan Enrichment Blocks This API allows authenticated users to retrieve the additional enrichment blocks of a lesson plan by its ID.
**How to Use:**
1. Call `GET /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}` with the lesson plan ID.
2. The API validates the lesson plan ID and ensures content generation is finalized.
3. If the additional block generation is completed, the system returns the lesson plan details including additional blocks.
**Example Scenario:**
A teacher wants to view the additional blocks added to a lesson plan:
- They call this API with the lesson plan ID.
- The system validates the lesson plan and content generation status.
- If valid and completed, the system returns the lesson plan details including all additional blocks.
- The teacher reviews the additional blocks for further planning or sharing.
Next
Add one or more additional blocks to a lesson plan.