progress #748
- userId
-
Alvina Koch @alvina.koch8
- courseId
- courses/23
- lessonId
- lessons/177
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #748
#748
#748
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/748" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/748" ); 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/748"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/748"
)
progres = res.json() Response
{
"id": 748,
"userId": 20,
"courseId": 23,
"lessonId": 177,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-01-13T00:30:31.578Z",
"createdAt": "2025-01-13T00:30:31.578Z"
}