quiz-questions / #121
- quizId
- 19
- text
- Thesis repellat volup adeo quam facere vix vero ustilo statim cunae?
- kind
- true_false
- options
- TrueFalse
- correctAnswer
- True
- sortOrder
- 1
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quiz-questions/121" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/121"
);
const quizQuestion = await res.json();import type { QuizQuestion } from "https://example-data.com/types/quiz-questions.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/121"
);
const quizQuestion = (await res.json()) as QuizQuestion;import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/121"
)
quiz_question = res.json() {
"id": 121,
"quizId": 19,
"text": "Thesis repellat volup adeo quam facere vix vero ustilo statim cunae?",
"kind": "true_false",
"options": [
"True",
"False"
],
"correctAnswer": "True",
"sortOrder": 1,
"createdAt": "2024-10-02T12:42:57.367Z"
}