Skip to main content
GET
/
powerpath
/
lessonPlans
/
{courseId}
/
{userId}
Returns the lesson plan tree for a course and student
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>"
        }
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

courseId
string
required

Course Sourced ID

userId
string
required

User Sourced ID

Response

Lesson plan tree

lessonPlan
object
required