Examplary
Start for free
Developer docs

Set test settings when you create a test

POST /exams now takes a settings object, so you can create a test with its time limit, attempts, sign-in requirement, open and close dates and review options in one call, instead of following up with a PATCH. Values in settings win over the older top-level fields like taxonomyId and context.

{
  "name": "Book review",
  "settings": { "duration": 45, "maxAttempts": 2, "requireSignIn": true }
}

Both POST /exams and PATCH /exams/{id} now validate settings against the full settings schema, which the reference lists field by field, and the exam endpoints document their responses too. Invalid values return a 400 with the validation issues under error, like every other validated route.