example-data.com

progress / #102

userId
Sarah West @sarah.west
courseId
courses/75
lessonId
state
not_started
completedAt
updatedAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/progress/102" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/progress/102"
);
const progress = await res.json();
import type { Progress } from "https://example-data.com/types/progress.d.ts";

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

res = requests.get(
    "https://example-data.com/api/v1/progress/102"
)
progres = res.json()
{
  "id": 102,
  "userId": 217,
  "courseId": 75,
  "lessonId": null,
  "state": "not_started",
  "completedAt": null,
  "updatedAt": "2025-04-17T15:58:24.471Z",
  "createdAt": "2025-04-17T15:58:24.471Z"
}
Draftbit