progress #1
- userId
-
Marlin Goldner @marlin_goldner6
- courseId
- courses/74
- lessonId
- —
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #1
#1
#1
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/1" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/1" ); 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/1"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/1"
)
progres = res.json() Response
{
"id": 1,
"userId": 160,
"courseId": 74,
"lessonId": null,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-07-26T22:51:26.915Z",
"createdAt": "2025-07-26T22:51:26.915Z"
}