curl --request PUT \
--url https://api.alpha-1edtech.ai/powerpath/updateStudentQuestionResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"question": "<string>",
"lesson": "<string>",
"response": "<string>",
"responses": {}
}
'{
"lessonType": "<string>",
"powerpathScore": 123,
"responseResult": {
"isCorrect": true,
"score": 123,
"feedback": "<unknown>"
},
"accuracy": 123,
"correctQuestions": 123,
"totalQuestions": 123,
"xp": 123,
"multiplier": 123,
"questionResult": "<unknown>",
"testResult": "<unknown>"
}Updates the student’s response to a question and returns the updated PowerPath score:
<qti-response-declaration> element and update the score accordingly.A ‘Lesson’ in this context is a ComponentResource object which has a Resource object associated with it.
curl --request PUT \
--url https://api.alpha-1edtech.ai/powerpath/updateStudentQuestionResponse \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"student": "<string>",
"question": "<string>",
"lesson": "<string>",
"response": "<string>",
"responses": {}
}
'{
"lessonType": "<string>",
"powerpathScore": 123,
"responseResult": {
"isCorrect": true,
"score": 123,
"feedback": "<unknown>"
},
"accuracy": 123,
"correctQuestions": 123,
"totalQuestions": 123,
"xp": 123,
"multiplier": 123,
"questionResult": "<unknown>",
"testResult": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
The input for the updateStudentQuestionResponse endpoint
The sourcedId of the student who is answering the question
The QTI question identifier from the lesson's question bank. This identifier corresponds to a specific question fetched from the QTI test URL stored in the lesson's Resource metadata.
The sourcedId of the lesson (ComponentResource)
DEPRECATED: Use 'responses' instead. / The student's response to the question. Might be the reference to the choice specified in the QTI structure.
Object containing response identifiers as keys and their corresponding values as strings or arrays of strings
Show child attributes
Success
Represents the result of updating the student's response to the question in the PowerPath100 lesson (ComponentResource)
"powerpath-100"The updated PowerPath score of the student in this lesson
The result of processing the student's response
Show child attributes
The accuracy of the student's attempted questions
The number of correct questions the student has answered in the lesson
The total number of questions in the lesson
The XP the student has earned in the lesson
The multiplier for the student's XP
The assessment result object for the question (for debugging)
The assessment result object for the test (for debugging)