This API allows authenticated users to create feedback entries for a lesson plan.
How to Use:
POST /lesson-plan/v1/feedback/{lesson_plan_id} with the feedback details including rating, comment, feedback type, and optional fields.Request Body Parameters:
general, content, quality, suggestion).Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the lesson plan
Text feedback/comment about the lesson plan
"The lesson plan is well-structured and covers all key concepts. However, I suggest adding more interactive activities."
Type of feedback. Must be one of: general (general feedback), content (content-specific feedback), quality (quality feedback), suggestion (suggestions for improvement)
general, content, quality, suggestion "suggestion"
Rating from 1 to 5
1 <= x <= 54
Structured feedback data as a JSON object for additional context
{
"strengths": ["Clear objectives", "Good pacing"],
"improvements": [
"Add more examples",
"Include assessment rubric"
]
}Specific step name if feedback is for a particular step in the lesson plan
"Introduction"
Specific component name if feedback is for a particular component
"Learning Objectives"
Feedback created successfully.