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

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 structure

lessonPlan
object
required