progress / #31
- userId
-
Maryam Kunze @maryam_kunze
- courseId
- courses/76
- lessonId
- lessons/514
- state
- not_started
- completedAt
- —
- updatedAt
- createdAt
Component variants
Medium
#31
#31
Small
progress/31 Related
References
curl -sS \
"https://example-data.com/api/v1/progress/31" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/progress/31"
);
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/31"
);
const progress = (await res.json()) as Progress;import requests
res = requests.get(
"https://example-data.com/api/v1/progress/31"
)
progres = res.json() {
"id": 31,
"userId": 195,
"courseId": 76,
"lessonId": 514,
"state": "not_started",
"completedAt": null,
"updatedAt": "2024-09-19T23:10:42.563Z",
"createdAt": "2024-09-19T23:10:42.563Z"
}