curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/tree/{lessonPlanId} \
--header 'Authorization: Bearer <token>'{
"lessonPlan": {
"lessonPlan": {
"course": {
"status": "active",
"title": "<string>",
"org": {
"sourcedId": "<string>"
},
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"academicSession": {
"sourcedId": "<string>"
},
"schoolYear": {
"href": "<string>",
"sourcedId": "<string>",
"type": "academicSession"
},
"courseCode": "<string>",
"grades": [
"3"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"level": "<string>",
"gradingScheme": "<string>",
"resources": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "academicSession"
}
]
},
"subComponents": [
{
"id": "<string>",
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"sortOrder": "<string>",
"unlockDate": "<string>",
"metadata": {},
"prerequisites": [
"<string>"
],
"prerequisiteCriteria": "<string>",
"componentResources": [
{
"tenantId": "<string>",
"clientAppId": "<string>",
"id": "<string>",
"courseComponentSourcedId": "<string>",
"resource": {
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"vendorResourceId": "<string>",
"metadataDetails": {
"type": "<string>"
},
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"roles": [
"primary"
],
"importance": "primary",
"vendorId": "<string>",
"applicationId": "<string>"
},
"sortOrder": "<string>",
"metadata": {}
}
],
"subComponents": "<array>"
}
]
}
}
}Purpose: Get the complete lesson plan tree for a lesson plan.
When to use:
What it does:
curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/tree/{lessonPlanId} \
--header 'Authorization: Bearer <token>'{
"lessonPlan": {
"lessonPlan": {
"course": {
"status": "active",
"title": "<string>",
"org": {
"sourcedId": "<string>"
},
"sourcedId": "<string>",
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"academicSession": {
"sourcedId": "<string>"
},
"schoolYear": {
"href": "<string>",
"sourcedId": "<string>",
"type": "academicSession"
},
"courseCode": "<string>",
"grades": [
"3"
],
"subjects": [
"Reading"
],
"subjectCodes": [
"<string>"
],
"level": "<string>",
"gradingScheme": "<string>",
"resources": [
{
"href": "<string>",
"sourcedId": "<string>",
"type": "academicSession"
}
]
},
"subComponents": [
{
"id": "<string>",
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"sortOrder": "<string>",
"unlockDate": "<string>",
"metadata": {},
"prerequisites": [
"<string>"
],
"prerequisiteCriteria": "<string>",
"componentResources": [
{
"tenantId": "<string>",
"clientAppId": "<string>",
"id": "<string>",
"courseComponentSourcedId": "<string>",
"resource": {
"sourcedId": "<string>",
"status": "active",
"title": "<string>",
"vendorResourceId": "<string>",
"metadataDetails": {
"type": "<string>"
},
"dateLastModified": "2023-11-07T05:31:56Z",
"metadata": {},
"roles": [
"primary"
],
"importance": "primary",
"vendorId": "<string>",
"applicationId": "<string>"
},
"sortOrder": "<string>",
"metadata": {}
}
],
"subComponents": "<array>"
}
]
}
}
}