Skip to main content
POST
/
powerpath
/
lessonPlans
/
{lessonPlanId}
/
operations
Store an operation on a lesson plan
curl --request POST \
  --url https://api.alpha-1edtech.ai/powerpath/lessonPlans/{lessonPlanId}/operations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "operation": {
    "type": "<string>",
    "payload": {
      "target": {
        "type": "component",
        "id": "<string>"
      },
      "value": true
    }
  },
  "reason": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "operationId": "<string>"
}

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

Body

application/json
operation
Set Skipped · object
required

Set the skipped attribute of a lesson plan item, effectively changing it's visibility for the student

reason
string

The reason for the operation

Response

Operation stored

success
boolean
required
message
string
operationId
string