Finish the contract
- todoListId
- todo-lists/70
- title
- Finish the contract
- isDone
- true
- dueDate
- —
- completedAt
- createdAt
- updatedAt
Overview
todos / #835
Finish the contract
#835
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todos/835" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todos/835" ); 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/835"
);
const todo = (await res.json()) as Todo; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todos/835"
)
todo = res.json() Response
{
"id": 835,
"todoListId": 70,
"title": "Finish the contract",
"isDone": true,
"dueDate": null,
"completedAt": "2025-10-10T01:55:03.080Z",
"createdAt": "2025-09-23T10:51:53.587Z",
"updatedAt": "2025-10-09T07:57:34.022Z"
}