example-data.com
Menu
Browse docs and collections

Overview

quiz-questions / #517

Desidero cenaculum tolero incidunt statua repellat?

quizId
quizzes/84
text
Desidero cenaculum tolero incidunt statua repellat?
kind
short_answer
options
correctAnswer
define the term
sortOrder
1
createdAt

Component variants

Related

References

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quiz-questions/517" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quiz-questions/517"
);
const quizQuestion = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/quiz-questions.d.ts https://example-data.com/types/quiz-questions.d.ts
import type { QuizQuestion } from "./types/quiz-questions";

const res = await fetch(
  "https://example-data.com/api/v1/quiz-questions/517"
);
const quizQuestion = (await res.json()) as QuizQuestion;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quiz-questions/517"
)
quiz_question = res.json()

Response

{
  "id": 517,
  "quizId": 84,
  "text": "Desidero cenaculum tolero incidunt statua repellat?",
  "kind": "short_answer",
  "options": [],
  "correctAnswer": "define the term",
  "sortOrder": 1,
  "createdAt": "2025-03-05T17:49:02.962Z"
}