example-data.com
Menu
Browse docs and collections

Overview

progress / #58

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/progress/58"
);
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/58"
);
const progress = (await res.json()) as Progress;

Python example

import requests

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

Response

{
  "id": 58,
  "userId": 95,
  "courseId": 63,
  "lessonId": 425,
  "state": "completed",
  "completedAt": "2025-12-12T03:06:55.024Z",
  "updatedAt": "2025-12-12T03:06:55.024Z",
  "createdAt": "2024-10-07T15:31:41.831Z"
}