Assessment
An assessment is a series of questions or tasks that a student must complete to finish a course.
Last updated
An assessment is a series of questions or tasks that a student must complete to finish a course.
Last updated
GET
https://api.motar.io/edu/v1/assessment
Retrieves a single assessment by ID to be displayed to a user.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
https://api.motar.io/edu/v1/assessment/progress
Updates a student's answer for an assessment question.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
assessmentId
string
The ID of an assessment or the ID of the assessment's lesson. An assessment's ID can be found in the "media" attribute of an assessment lesson.
Authorization
string
Auth token generated by user login.
Authorization
string
Auth token generated by user login.
correct
boolean
Whether or not a student's short answer is correct. If the question is multiple choice this parameter is not required (and is ignored).
answer
string
Text of student's answer picked from the array of answers in the question object if question is multiple choice, or free text if the question is short answer.
questionText
string
The text of the question the student is answering, taken from the Get Assessment route above. One of "questionIndex" or "questionText" is required.
questionIndex
number
Integer index of the question in the assessment. This should match the index of the question returned in the assessment's array above. One of "questionIndex" or "questionText" is required.
classId
string
Assessments are graded on a class-by-class basis. Indicate which class you are reporting student answers on with this ID.
lessonId
string
ID of the assessment lesson.
studentId
string
Student who is being assessed. If omitted, defaults to the logged-in user.