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
/
lesson-plan
/
v1
/
additional-enrichment-block
/
{lesson_plan_id}
Retrieve the additional blocks of a lesson plan by its ID.
curl --request GET \
--url https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "658fcb13-0304-46cd-8c3d-0776ec4506f8",
"board": {
"id": "087c80b0-ac25-40ee-8657-28b694882ba8",
"name": "CBSE"
},
"grade": {
"id": "65955148-e106-461b-a9a6-e0c3294f6734",
"name": "Grade 10"
},
"section": null,
"subject": {
"id": "abf49127-253c-4dc9-9bf5-eb66360e5592",
"name": "Mathematics"
},
"status": "Completed",
"duration_minutes": 50,
"topic": "Real Numbers",
"documents": [],
"audio_url": null,
"subject_matter": {
"topics_to_be_covered": {},
"key_concepts_and_subconcepts": {},
"prerequisite_knowledge": {}
},
"learning_standards": {},
"alignment": {},
"content_generation": {},
"additional_blocks": [
{
"name": "Reflection and Feedback",
"description": "In this 20-minute block, students individually reflect on their understanding of Euclid's division algorithm, the Fundamental Theorem of Arithmetic, and proofs of irrationality. Prompts include: 'Why is prime factorization unique?' and 'How does Euclid's division algorithm help in divisibility problems?'. The teacher circulates to provide feedback, uses a formative quiz for quick checks, and encourages students to share their reasoning with peers."
},
{
"name": "Emotional and Social Development",
"description": "In this 20-minute session, small groups collaboratively solve number theory problems. Roles such as questioner and explainer promote social interaction and critical thinking. The teacher encourages respectful discussion, models positive feedback, and guides reflection on teamwork and empathy, helping students build identity, belonging, and autonomy."
}
]
}
}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.
Show child attributes
Show child attributes
Was this page helpful?
⌘I
Retrieve the additional blocks of a lesson plan by its ID.
curl --request GET \
--url https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.crazygoldfish.com/lesson-plan/v1/additional-enrichment-block/{lesson_plan_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "658fcb13-0304-46cd-8c3d-0776ec4506f8",
"board": {
"id": "087c80b0-ac25-40ee-8657-28b694882ba8",
"name": "CBSE"
},
"grade": {
"id": "65955148-e106-461b-a9a6-e0c3294f6734",
"name": "Grade 10"
},
"section": null,
"subject": {
"id": "abf49127-253c-4dc9-9bf5-eb66360e5592",
"name": "Mathematics"
},
"status": "Completed",
"duration_minutes": 50,
"topic": "Real Numbers",
"documents": [],
"audio_url": null,
"subject_matter": {
"topics_to_be_covered": {},
"key_concepts_and_subconcepts": {},
"prerequisite_knowledge": {}
},
"learning_standards": {},
"alignment": {},
"content_generation": {},
"additional_blocks": [
{
"name": "Reflection and Feedback",
"description": "In this 20-minute block, students individually reflect on their understanding of Euclid's division algorithm, the Fundamental Theorem of Arithmetic, and proofs of irrationality. Prompts include: 'Why is prime factorization unique?' and 'How does Euclid's division algorithm help in divisibility problems?'. The teacher circulates to provide feedback, uses a formative quiz for quick checks, and encourages students to share their reasoning with peers."
},
{
"name": "Emotional and Social Development",
"description": "In this 20-minute session, small groups collaboratively solve number theory problems. Roles such as questioner and explainer promote social interaction and critical thinking. The teacher encourages respectful discussion, models positive feedback, and guides reflection on teamwork and empathy, helping students build identity, belonging, and autonomy."
}
]
}
}