Skip to content

Returns all questions of a quiz including answers​

GET
/api/quizzes/{quizId}/questions

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

quizId*
Type
integer
Required
Minimum
1

Responses​

Success

application/json
JSON
[
  
{
  
  
"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
  
}
]

Playground​

Authorization
Variables
Key
Value

Samples​