todos / #125
- todoListId
- todo-lists/11
- title
- Complete the draft
- isDone
- false
- dueDate
- 2026-06-17
- completedAt
- —
- createdAt
- updatedAt
Component variants
Medium
Complete the draft
#125
Small
todos/125 Related
References
curl -sS \
"https://example-data.com/api/v1/todos/125" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/todos/125"
);
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/125"
);
const todo = (await res.json()) as Todo;import requests
res = requests.get(
"https://example-data.com/api/v1/todos/125"
)
todo = res.json() {
"id": 125,
"todoListId": 11,
"title": "Complete the draft",
"isDone": false,
"dueDate": "2026-06-17",
"completedAt": null,
"createdAt": "2025-06-19T09:24:45.672Z",
"updatedAt": "2026-03-01T08:59:29.573Z"
}