example-data.com
Menu
Browse docs and collections

Overview

quizzes / #56

Final Exam — Fundamentals of Copywriting

courseId
courses/37
lessonId
lessons/256
title
Final Exam — Fundamentals of Copywriting
description
Depereo vestigium totam.
passingScorePercent
80
timeLimitMinutes
6
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quizzes/56" \
  -H "Accept: application/json"

JavaScript example

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

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/quizzes/56"
);
const quiz = (await res.json()) as Quiz;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quizzes/56"
)
quizze = res.json()

Response

{
  "id": 56,
  "courseId": 37,
  "lessonId": 256,
  "title": "Final Exam — Fundamentals of Copywriting",
  "description": "Depereo vestigium totam.",
  "passingScorePercent": 80,
  "timeLimitMinutes": 6,
  "createdAt": "2025-02-24T22:42:46.177Z",
  "updatedAt": "2025-04-25T07:16:14.090Z"
}