Skip to main content
GET
/
powerpath
/
lessonPlans
/
tree
/
{lessonPlanId}
Get a lesson plan tree by its ID
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>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

lessonPlanId
string
required

Lesson plan ID

Response

Lesson plan tree

lessonPlan
object
required