todos / #28
- todoListId
- todo-lists/2
- title
- Prepare the dashboard
- isDone
- false
- dueDate
- 2026-06-20
- completedAt
- —
- createdAt
- updatedAt
Component variants
Medium
Prepare the dashboard
#28
Small
todos/28 Related
References
curl -sS \
"https://example-data.com/api/v1/todos/28" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/todos/28"
);
const todo = await res.json();import type { Todo } from "https://example-data.com/types/todos.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/todos/28"
);
const todo = (await res.json()) as Todo;import requests
res = requests.get(
"https://example-data.com/api/v1/todos/28"
)
todo = res.json() {
"id": 28,
"todoListId": 2,
"title": "Prepare the dashboard",
"isDone": false,
"dueDate": "2026-06-20",
"completedAt": null,
"createdAt": "2025-08-26T23:02:32.336Z",
"updatedAt": "2026-02-19T11:27:07.430Z"
}