example-data.com
Menu
Browse docs and collections

Overview

progress / #69

Component variants

Related

Request

curl example

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

JavaScript example

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

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/progress/69"
);
const progress = (await res.json()) as Progress;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/progress/69"
)
progres = res.json()

Response

{
  "id": 69,
  "userId": 57,
  "courseId": 28,
  "lessonId": 199,
  "state": "completed",
  "completedAt": "2026-03-06T11:35:15.321Z",
  "updatedAt": "2026-03-06T11:35:15.321Z",
  "createdAt": "2024-09-18T08:06:48.284Z"
}