Books to Read
- userId
-
Rosina Larkin @rosina.larkin75
- name
- Books to Read
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #101
Books to Read
#101
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/101" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/101" ); 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/101"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/101"
)
todo_list = res.json() Response
{
"id": 101,
"userId": 103,
"name": "Books to Read",
"isArchived": false,
"createdAt": "2025-10-03T01:50:00.495Z",
"updatedAt": "2026-03-08T00:05:28.450Z"
}