AlmondTill/G3N API

NewTrainingQuestionInput

input type

The tenant stamps server-side; courseKey must resolve to a live play and stepN, when given, to one of its steps (VALIDATION otherwise); correctIndex must name one of the options; source is drafted | written.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — the prompt cut to the caption cap; when supplied it must be non-blank.
courseKeyString String!yesA live play key.
stepNIntnoThe play step it tests (1-based), optional.
promptString String!yesAt most 400 characters.
optionsString [String!]!yes2..6 options.
correctIndexInt Int!yes0-based, below the options count.
explanationString String!yesAt most 400 characters.
sourceString String!yesdrafted | written.

Used by