AlmondTill/G3N API

EditTrainingQuestionInput

input type

Edit-input for a TrainingQuestion. Every field optional, at least ONE required; supplied fields REPLACE prompt, options (WHOLESALE), correctIndex, explanation, stepN and/or caption — at least one; when only one of options/correctIndex moves, the index is checked against the stored options; courseKey and source never move.

Fields

FieldTypeRequiredNotes
captionStringnoNo further notes.
stepNIntnoThe play step it tests (1-based).
promptStringnoAt most 400 characters.
optionsString [String!]noWholesale replacement when supplied.
correctIndexIntno0-based, below the options count.
explanationStringnoAt most 400 characters.

Used by