GET /api/quiz/{quizId}
GET
/api/quiz/{quizId}Authorizations
Parameters
Path Parameters
quizId*
Typestring
RequiredResponses
Success
JSON
{
"id": 1,
"name": "Foodsaver Quiz",
"description": "This is the description of this quiz.",
"isDescriptionHtmlEncoded": true,
"maxFailurePointsToSucceed": 2,
"questionCountTimed": 10,
"questionCountUntimed": 20
}
Samples
cURL
curl -X GET http://localhost/api/quiz/{quizId}
JavaScript
fetch("http://localhost/api/quiz/{quizId}")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/quiz/{quizId}");
Python
import requests
response = requests.get("http://localhost/api/quiz/{quizId}")
print(response.json())