quiz-questions / #40
- quizId
- 7
- text
- Amplitudo admoneo umerus capto vulnus terreo totus corrumpo amo alo iusto thymbra solium?
- kind
- multiple_choice
- options
- vere voluptasultio caudaadulescens comaacies vorax desolo
- correctAnswer
- adulescens coma
- sortOrder
- 1
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quiz-questions/40" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/40"
);
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/40"
);
const quizQuestion = (await res.json()) as QuizQuestion;import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/40"
)
quiz_question = res.json() {
"id": 40,
"quizId": 7,
"text": "Amplitudo admoneo umerus capto vulnus terreo totus corrumpo amo alo iusto thymbra solium?",
"kind": "multiple_choice",
"options": [
"vere voluptas",
"ultio cauda",
"adulescens coma",
"acies vorax desolo"
],
"correctAnswer": "adulescens coma",
"sortOrder": 1,
"createdAt": "2024-08-13T16:58:38.824Z"
}