Organize the documentation
- todoListId
- todo-lists/214
- title
- Organize the documentation
- isDone
- true
- dueDate
- 2026-05-22
- completedAt
- createdAt
- updatedAt
Overview
todos / #2530
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/2530" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/2530" ); 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/2530"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/2530"
)
todo = res.json() Response
{
"id": 2530,
"todoListId": 214,
"title": "Organize the documentation",
"isDone": true,
"dueDate": "2026-05-22",
"completedAt": "2026-05-03T06:05:17.208Z",
"createdAt": "2025-11-08T02:36:00.532Z",
"updatedAt": "2025-12-27T23:28:44.308Z"
}