create_questions
Batch create questions for a Skilljar quiz or question bank by supplying HTML, question type, and exactly one parent. Supports multiple-choice, multiple-answer, fill-in-blank, and freeform questions with answers.
Instructions
Create one or more questions. This is a BATCH operation.
Each item needs `question_html`, a `question_type`, and EXACTLY ONE parent -
`quiz_id` or `question_bank_id`, never both and never neither. A question in a
bank is reusable across quizzes; a question in a quiz belongs to it alone and is
deleted with it.
Types and their answers:
MULTIPLE_CHOICE, MULTIPLE_ANSWER at least one answer
FILL_IN_THE_BLANK at least one answer; every one is stored as
correct regardless of what you send
FREEFORM NO answers; graded by a human
Each answer is `{answer_text, correct}`; `answer_text` is required, max 1000.
`order` is assigned by the service for both questions and answers and is not
accepted. Neither are `is_graded`, `is_optional` or `answer_feedback_html`.
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 |