progress #578
- userId
-
Michaela Feeney @michaela_feeney46
- courseId
- courses/7
- lessonId
- lessons/49
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #578
#578
#578
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/578" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/578" ); 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/578"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/578"
)
progres = res.json() Response
{
"id": 578,
"userId": 87,
"courseId": 7,
"lessonId": 49,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-05-17T14:24:28.619Z",
"createdAt": "2025-05-17T14:24:28.619Z"
}