Course Quiz Question
{
"id": "integer",
"type": "string",
"image": "string",
"text": "string",
"answers": [],
"correct": "boolean"
}
Properties
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
id | integer | false | read-only | Unique integer value identifying this quiz question |
type | type | true | none | Enum to define the quiz question type |
image | string | false | none | The quiz image associated to this question |
text | string | true | none | The question text |
answers | list(Course Quiz Answer) | true | none | List of Course Quiz Answer for the current question |
correct | boolean | false | read-only | Define if the user answered correctly to the current answer. This property is only available inside the property last_attempt of the Course Lesson |
Enumerated Values
Property | Value | Description |
---|---|---|
type | single_choice | Question type single_choice must have only have one correct answer |
type | multi_choice | Question type multi_choice must have at least one or more correct answer |