curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/tree/{lessonPlanId}/structure \
--header 'Authorization: Bearer <token>'{
"lessonPlan": {
"lessonPlan": {
"id": "<string>",
"courseId": "<string>",
"courseTitle": "<string>",
"structure": [
{
"type": "component",
"title": "<string>",
"order": "<string>",
"skipped": true,
"itemId": "<string>",
"componentResourceId": "<string>",
"componentId": "<string>",
"componentResources": "<array>",
"subComponents": "<array>"
}
]
}
}
}Purpose: Get a simplified structure for inspection and debugging.
When to use:
What it does:
curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/tree/{lessonPlanId}/structure \
--header 'Authorization: Bearer <token>'{
"lessonPlan": {
"lessonPlan": {
"id": "<string>",
"courseId": "<string>",
"courseTitle": "<string>",
"structure": [
{
"type": "component",
"title": "<string>",
"order": "<string>",
"skipped": true,
"itemId": "<string>",
"componentResourceId": "<string>",
"componentId": "<string>",
"componentResources": "<array>",
"subComponents": "<array>"
}
]
}
}
}