Books to Read
- userId
-
Allan Buckridge @allan_buckridge
- name
- Books to Read
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #104
Books to Read
#104
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/104" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/104" ); const todoList = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/todo-lists.d.ts https://example-data.com/types/todo-lists.d.ts
import type { TodoList } from "./types/todo-lists";
const res = await fetch(
"https://example-data.com/api/v1/todo-lists/104"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/104"
)
todo_list = res.json() Response
{
"id": 104,
"userId": 106,
"name": "Books to Read",
"isArchived": false,
"createdAt": "2025-12-19T07:06:41.620Z",
"updatedAt": "2026-01-23T13:27:38.134Z"
}