progress #25
- userId
-
Daren Lockman @daren_lockman67
- courseId
- courses/9
- lessonId
- —
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #25
#25
#25
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/25" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/25" ); 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/25"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/25"
)
progres = res.json() Response
{
"id": 25,
"userId": 116,
"courseId": 9,
"lessonId": null,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-04-09T02:44:07.626Z",
"createdAt": "2025-04-09T02:44:07.626Z"
}