todos / #143
- todoListId
- todo-lists/12
- title
- Write the contract
- isDone
- false
- dueDate
- —
- completedAt
- —
- createdAt
- updatedAt
Component variants
Medium
Write the contract
#143
Small
todos/143 Related
References
curl -sS \
"https://example-data.com/api/v1/todos/143" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/todos/143"
);
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/143"
);
const todo = (await res.json()) as Todo;import requests
res = requests.get(
"https://example-data.com/api/v1/todos/143"
)
todo = res.json() {
"id": 143,
"todoListId": 12,
"title": "Write the contract",
"isDone": false,
"dueDate": null,
"completedAt": null,
"createdAt": "2025-08-30T07:53:52.845Z",
"updatedAt": "2026-05-11T16:39:06.766Z"
}