Assessment

An assessment is a series of questions or tasks that a student must complete to finish a course.

Read an Assessment

GET https://api.motar.io/edu/v1/assessment

Retrieves a single assessment by ID to be displayed to a user.

Query Parameters

Headers

[ { answers: null,
    questionType: 'short-answer',
    question: 'What is the secret identity of the Batman?',
    correctAnswerIndex: null },
  { answers: [ 'Yes', 'No' ],
    questionType: 'multiple-choice',
    question: 'Is Batman cool?',
    correctAnswerIndex: 0 } ]

Update Student Assessment Answers

POST https://api.motar.io/edu/v1/assessment/progress

Updates a student's answer for an assessment question.

Headers

Request Body

{ studentId:
   '20130abb95ff8f5786e39bf4d087b52c2246b63900ffa929cecc3f540a51dde4e3ede60d0166e10f4e31f87ece1fe67b6074e839a5f6fd1aa6f6bdfbb47c917098c80d46b005b9660cb90b49f350dc2448$5867a08016ad0378a5d33c2c919a10f7',
  lessonId:
   '20130abb95ff8f5886e39bf4d087b52c2246b63900ffac24cecc3f540a51dde4e3ede60d0166e10f4e31f87ece1fe67b6074e839a5f6fd1aa6f6bdfbb47c917098c80d46b005b9660cb90b49f350dc2448$5867a08016ad0378a5d33c2c919a10f7',
  pass: false,
  score: null,
  answers:
   [ { question: 'What is the secret identity of the Batman?',
       answer: 'Bruce Wayne',
       correct: true },
     { question: 'Is Batman cool?',
       answer: null,
       correct: null } ],
  started: '2019-12-30T21:07:20.325Z',
  completed: null }

Last updated