Kaltura API Documentationquiz.add

Allows to add a quiz to an entry

Try it out
post https://www.kaltura.com/api_v3/service/quiz_quiz/action/add

Request Parameters

body:object
object
entryId*:string
quiz*:object:KalturaQuiz
allowAnswerUpdate:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

allowDownload:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

attemptsAllowed:integer
scoreType:integer
Enum: HIGHEST [1], LOWEST [2], LATEST [3], FIRST [4], AVERAGE [5]

Enum Type: KalturaScoreType

showCorrectAfterSubmission:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showCorrectKeyOnAnswer:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showGradeAfterSubmission:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showResultOnAnswer:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

uiAttributes:array[object:KalturaKeyValue]version:integer

readOnly

Response

Success

object:KalturaQuiz
allowAnswerUpdate:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

allowDownload:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

attemptsAllowed:integer
scoreType:integer
Enum: HIGHEST [1], LOWEST [2], LATEST [3], FIRST [4], AVERAGE [5]

Enum Type: KalturaScoreType

showCorrectAfterSubmission:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showCorrectKeyOnAnswer:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showGradeAfterSubmission:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

showResultOnAnswer:integer
Enum: NULL_VALUE [-1], FALSE_VALUE [0], TRUE_VALUE [1]

Enum Type: KalturaNullableBoolean

uiAttributes:array[object:KalturaKeyValue]
object:KalturaKeyValue

A key value pair representation to return an array of key-value pairs (associative array)

key:string
value:string
version:integer

readOnly