todos / #152
- todoListId
- todo-lists/13
- title
- Follow up with the vendor
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Component variants
Small
todos/152 Related
References
curl -sS \
"https://example-data.com/api/v1/todos/152" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/todos/152"
);
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/152"
);
const todo = (await res.json()) as Todo;import requests
res = requests.get(
"https://example-data.com/api/v1/todos/152"
)
todo = res.json() {
"id": 152,
"todoListId": 13,
"title": "Follow up with the vendor",
"isDone": true,
"dueDate": null,
"completedAt": "2026-04-22T09:43:41.643Z",
"createdAt": "2025-05-29T13:18:03.925Z",
"updatedAt": "2025-06-25T06:05:00.148Z"
}