Skip to content

GET /api/user/current/quizsessions/{quizId}/question

GET
/api/user/current/quizsessions/{quizId}/question

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

quizId*
Typestring
Required
Pattern"\\d+"

Query Parameters

isTest
Typeboolean
Defaultfalse

Responses

Success.

application/json
JSON
{
"question": {
"id": 1,
"text": "You are at a store for a pickup. What should you do?",
"durationInSeconds": 60,
"wikilink": "https://wiki.foodsharing.de/some_page",
"failurePoints": 2,
"isMandatory": false,
"answers": [
{
"id": 1,
"text": "Take every thing I see with me.",
"explanation": "You should not do that. Obviously.",
"answerRating": 0
}
],
"commentCount": 0
},
"questionAge": 10,
"timedOut": false
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python