curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/{courseId}/{userId} \
--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>"
}
]
}
}
}Given a course sourced ID and a user sourced ID, returns the lesson plan tree.
The lesson plan tree is nested object comprised of several lessonPlanItems, which are nodes that contain information about the lesson plan - including which component or component resource is associated with that node, as well as which node is its parent.
A node may reference a component or a componentResource. A node with no parent is considered at the root level of the lesson plan tree.
A student’s lesson plan has a unique ID that can be used instead of the parameters to retrieve it.
curl --request GET \
--url https://api.alpha-1edtech.ai/powerpath/lessonPlans/{courseId}/{userId} \
--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>"
}
]
}
}
}