progress #446
- userId
-
Dwight Dicki-Medhurst @dwight.dicki-medhurst69
- courseId
- courses/44
- lessonId
- lessons/298
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #446
#446
#446
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/446" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/446" ); 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/446"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/446"
)
progres = res.json() Response
{
"id": 446,
"userId": 35,
"courseId": 44,
"lessonId": 298,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-05-26T06:09:14.669Z",
"createdAt": "2025-05-26T06:09:14.669Z"
}