progress #382
- userId
-
Oran Torphy @oran_torphy
- courseId
- courses/18
- lessonId
- lessons/137
- state
- in_progress
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #382
#382
#382
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/382" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/382" ); 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/382"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/382"
)
progres = res.json() Response
{
"id": 382,
"userId": 189,
"courseId": 18,
"lessonId": 137,
"state": "in_progress",
"completedAt": null,
"updatedAt": "2025-04-23T02:31:54.666Z",
"createdAt": "2025-02-04T12:58:05.798Z"
}