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:
- Call
GET /lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}with the lesson plan ID. - The API validates the lesson plan ID and ensures content generation is finalized.
- 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.
GET
Retrieve the additional blocks of a lesson plan by its ID.
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 whose additional blocks are being requested.
Response
Lesson plan additional blocks retrieved successfully.
Previous
POST - Lesson Plan Feedback This API allows authenticated users to create feedback entries for a lesson plan.
**How to Use:**
- Call `POST /lesson-plan/v1/feedback/{lesson_plan_id}` with the feedback details including rating, comment, feedback type, and optional fields.
- The API validates that the lesson plan exists and creates a new feedback entry.
**Request Body Parameters:**
- **rating** (optional): Integer between 1 and 5, representing the rating for the lesson plan.
- **comment** (required): Text feedback or comment about the lesson plan.
- **feedback_type** (required): Type of feedback ( May be one of them: `general`, `content`, `quality`, `suggestion`).
- **feedback_data** (optional): Structured feedback data as a JSON object for additional context.
- **step_name** (optional): Specific step name if the feedback is for a particular step in the lesson plan.
- **component_name** (optional): Specific component name if the feedback is for a particular component.
Next
Retrieve the additional blocks of a lesson plan by its ID.