Book the draft
- todoListId
- todo-lists/9
- title
- Book the draft
- isDone
- true
- dueDate
- 2026-06-14
- completedAt
- createdAt
- updatedAt
Overview
todos / #116
Book the draft
#116
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/116" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/116" ); const todo = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/todos.d.ts https://example-data.com/types/todos.d.ts
import type { Todo } from "./types/todos";
const res = await fetch(
"https://example-data.com/api/v1/todos/116"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/116"
)
todo = res.json() Response
{
"id": 116,
"todoListId": 9,
"title": "Book the draft",
"isDone": true,
"dueDate": "2026-06-14",
"completedAt": "2025-09-12T23:11:02.206Z",
"createdAt": "2025-06-07T02:18:11.382Z",
"updatedAt": "2025-08-01T13:07:39.898Z"
}