update_questions
Update existing questions in batches with partial edits; omitted attributes are preserved, while answers and type/quiz/bank assignments remain immutable.
Instructions
Update one or more existing questions. This is a BATCH operation.
Each item needs an `id`. This is a PARTIAL update: an attribute you omit is
PRESERVED, not cleared.
ANSWERS ARE IMMUTABLE. There is no `answers` field - to change a question's
answers, delete it with `delete_questions` and create a replacement. Do not
report an answer change as done unless you did that.
`question_type`, `quiz_id`, `question_bank_id` and `order` are read-only: a
question cannot change type and cannot move between a quiz and a bank.
A flag that conflicts with the question's STORED type - `case_sensitive` on a
multiple-choice question, say - fails THAT ROW inside the batch rather than the
whole call, because the check needs the stored value.
Requires `question-banks:write` OR `quizzes:write`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| questions | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| total | Yes | ||
| failed | Yes | ||
| succeeded | Yes |