AlmondTill/G3N API

Training question

The TrainingQuestion family — 7 operations.

A training question is one multiple-choice question in a course’s bank — the prompt, two to six options, which option is right, and the explanation shown after a sitting. The assistant can draft candidates from the play’s own words; nothing is stored until the owner saves each one, and every saved question is marked as drafted or written by hand. An active question is in the draw; an inactive one is retired from it but kept; a retired-for-good one never returns. A course holds at most sixty questions.

Operations

OperationKindWhat it does
createTrainingQuestionmutationSave one question into a course’s bank — the prompt, two to six options, which is right, the explanation — marked drafted or written.
deactivateTrainingQuestionmutationRetire a question from the draw — kept, never asked, until reactivated.
doomTrainingQuestionmutationPermanently retire a question from a course’s bank.
reactivateTrainingQuestionmutationPut a retired question back into the draw.
trainingQuestionqueryLook up one question of a course’s bank — the prompt, the options, the right one and the explanation.
trainingQuestionsqueryYour organization group’s question bank, newest first, across every course.
updateTrainingQuestionmutationFix a question’s prompt, options, right answer, explanation or step.