Skip to content

GET /api/quiz/sessions/{foodsaverId}

GET
/api/quiz/sessions/{foodsaverId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

foodsaverId*
Typestring
Required
Pattern"\\d+"

Responses

Success.

application/json
JSON
[
{
"quiz": {
"id": 1,
"name": "Foodsaver Quiz",
"description": "This is the description of this quiz.",
"isDescriptionHtmlEncoded": false,
"maxFailurePointsToSucceed": 2,
"questionCountTimed": 10,
"questionCountUntimed": 20
},
"sessions": [
{
"id": null,
"foodsaverId": null,
"quizId": null,
"status": null,
"questionsAnswered": null,
"startTime": null,
"endTime": null,
"failurePoints": null,
"maxFailurePointsToSucceed": null,
"isTimed": true,
"isTest": true
}
]
}
]

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python