canvas-lms/doc/examples/quiz_submission_manual_scor...

700 B

Parameter synopsis

{
  "quiz_submissions": [{
    "fudge_points": null, // null for no change, or a signed decimal
    "questions": {
      "QUESTION_ID": {
        "score": null, // null for no change, or an unsigned decimal
        "comment": null // null for no change, '' for no comment, or a string
      }
    }
  }]
}

More example requests

Fudging the score by a negative amount

{
  "quiz_submissions": [{
    "attempt": 1,
    "fudge_points": -2.4
  }]
}

Removing an earlier comment on a question

{
  "quiz_submissions": [{
    "attempt": 1,
    "questions": {
      "1": {
        "comment": ""
      }
    }
  }]
}