curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/createNewAttempt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"lesson": "<string>"
}
'{
"attempt": {
"attempt": 123,
"score": 123,
"scoreStatus": "exempt",
"xp": 123,
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}Creates a new attempt for a student in a lesson if the current attempt is completed.
For Assessment Bank lessons:
curl --request POST \
--url https://api.alpha-1edtech.ai/powerpath/createNewAttempt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"lesson": "<string>"
}
'{
"attempt": {
"attempt": 123,
"score": 123,
"scoreStatus": "exempt",
"xp": 123,
"startedAt": "2023-11-07T05:31:56Z",
"completedAt": "2023-11-07T05:31:56Z"
}
}The access token received from the authorization server in the OAuth 2.0 flow.
Success
Show child attributes