Skip to content

Returns a users quiz sessions​

GET
/api/users/{userId}/quiz-sessions

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

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

Parameters​

Path Parameters

userId*
Type
integer
Required
Minimum
1

Responses​

Success.

application/json
JSON
[
  
{
  
  
"quiz": {
  
  
  
"id": 0,
  
  
  
"name": ""
  
  
},
  
  
"sessions": [
  
  
  
{
  
  
  
  
"id": null,
  
  
  
  
"foodsaverId": null,
  
  
  
  
"quizId": null,
  
  
  
  
"status": null,
  
  
  
  
"questionsAnswered": null,
  
  
  
  
"startTime": null,
  
  
  
  
"endTime": null,
  
  
  
  
"failurePoints": null,
  
  
  
  
"maxFailurePointsToSucceed": null,
  
  
  
  
"isTimed": null,
  
  
  
  
"isTest": false
  
  
  
}
  
  
]
  
}
]

Playground​

Authorization
Variables
Key
Value

Samples​