todos / #198
- todoListId
- todo-lists/16
- title
- Follow up with the draft
- isDone
- true
- dueDate
- 2026-05-21
- completedAt
- createdAt
- updatedAt
Component variants
Small
todos/198 Related
References
curl -sS \
"https://example-data.com/api/v1/todos/198" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/todos/198"
);
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/198"
);
const todo = (await res.json()) as Todo;import requests
res = requests.get(
"https://example-data.com/api/v1/todos/198"
)
todo = res.json() {
"id": 198,
"todoListId": 16,
"title": "Follow up with the draft",
"isDone": true,
"dueDate": "2026-05-21",
"completedAt": "2026-03-30T22:31:55.223Z",
"createdAt": "2025-08-01T16:18:27.226Z",
"updatedAt": "2025-09-29T19:50:34.302Z"
}