progress #155
- userId
-
Audreanne Will @audreanne_will
- courseId
- courses/39
- lessonId
- lessons/267
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Overview
progress / #155
#155
#155
Request
curl example
curl -sS \ "https://example-data.com/api/v1/progress/155" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/progress/155" ); 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/155"
);
const progress = (await res.json()) as Progress; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/progress/155"
)
progres = res.json() Response
{
"id": 155,
"userId": 127,
"courseId": 39,
"lessonId": 267,
"state": "not_started",
"completedAt": null,
"updatedAt": "2025-03-10T14:21:31.111Z",
"createdAt": "2025-03-10T14:21:31.111Z"
}