UpdateQuizRequest
A request or response body; the type column links to the schemas it refers to.
UpdateQuizRequest
| Field | Type | Required | Description |
|---|---|---|---|
| slug | string | no | 1–100 characters · matches ^[a-z0-9]+(-[a-z0-9]+)*$ |
| name | string | no | 1–200 characters |
| description | string | null | no | Send null to clear the description. at most 2000 characters |
| footer_markdown | string | null | no | Send null or empty to clear the closing note. at most 50000 characters |
| delivery_kind | string | no | live: takeable only while one of the quiz's scheduled sittings (scheduled_quizzes) is open — the same quiz can be scheduled year after year. async: self-scheduled, takeable whenever the quiz is published; sittings do not apply. one of "live" | "async" |
| time_limit_seconds | integer | null | no | Send null to remove the time limit. |
| selection_mode | string | no | fixed: every question in authored order, the same for everyone. shuffle: every question, order and options shuffled per attempt. random_draw: each bank link contributes draw_count randomly chosen questions (all when null), shuffled. one of "fixed" | "shuffle" | "random_draw" |
| pass_percentage | number | no | Score required to pass, as a percentage of the questions presented. minimum 0 · maximum 100 |
| max_attempts | integer | null | no | Send null for unlimited attempts. |
| show_results_immediately | boolean | no | — |
| show_correct_answers | boolean | no | — |
{
"slug": "string",
"name": "string",
"description": "string",
"footer_markdown": "**Before you submit:** review every answer. Submission cannot be undone.",
"delivery_kind": "live",
"time_limit_seconds": 1200,
"selection_mode": "fixed",
"pass_percentage": 80,
"max_attempts": 3,
"show_results_immediately": true,
"show_correct_answers": true
}