progress / #224
- userId
-
Melvina Reilly @melvina_reilly83
- courseId
- courses/1
- lessonId
- —
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Component variants
Medium
#224
#224
Small
progress/224 Related
References
curl -sS \
"https://example-data.com/api/v1/progress/224" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/progress/224"
);
const progress = await res.json();import type { Progress } from "https://example-data.com/types/progress.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/progress/224"
);
const progress = (await res.json()) as Progress;import requests
res = requests.get(
"https://example-data.com/api/v1/progress/224"
)
progres = res.json() {
"id": 224,
"userId": 26,
"courseId": 1,
"lessonId": null,
"state": "not_started",
"completedAt": null,
"updatedAt": "2024-12-10T23:49:56.016Z",
"createdAt": "2024-12-10T23:49:56.016Z"
}