progress #242
- userId
-
Lew O'Kon @lew.okon75
- courseId
- courses/23
- lessonId
- lessons/173
- state
- in_progress
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #242
#242
#242
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/242" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/242" ); 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/242"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/242"
)
progres = res.json() Response
{
"id": 242,
"userId": 131,
"courseId": 23,
"lessonId": 173,
"state": "in_progress",
"completedAt": null,
"updatedAt": "2025-04-05T14:46:40.226Z",
"createdAt": "2024-10-03T08:25:03.314Z"
}