example-data.com
Menu
Browse docs and collections

Overview

progress / #785

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 785,
  "userId": 112,
  "courseId": 31,
  "lessonId": 214,
  "state": "completed",
  "completedAt": "2026-02-13T14:13:07.966Z",
  "updatedAt": "2026-02-13T14:13:07.966Z",
  "createdAt": "2026-01-21T21:59:11.279Z"
}