Plan the presentation
- todoListId
- todo-lists/167
- title
- Plan the presentation
- isDone
- true
- dueDate
- 2026-06-06
- completedAt
- createdAt
- updatedAt
Overview
todos / #1962
Plan the presentation
#1962
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/1962" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/1962" ); 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/1962"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/1962"
)
todo = res.json() Response
{
"id": 1962,
"todoListId": 167,
"title": "Plan the presentation",
"isDone": true,
"dueDate": "2026-06-06",
"completedAt": "2026-05-13T08:12:40.825Z",
"createdAt": "2026-03-11T18:57:03.662Z",
"updatedAt": "2026-04-20T05:53:02.622Z"
}