Errands
- userId
-
Maymie Boehm @maymie.boehm90
- name
- Errands
- isArchived
- true
- createdAt
- updatedAt
Overview
todo-lists / #56
Errands
#56
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/56" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/56" ); 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/56"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/56"
)
todo_list = res.json() Response
{
"id": 56,
"userId": 48,
"name": "Errands",
"isArchived": true,
"createdAt": "2025-12-25T16:47:21.672Z",
"updatedAt": "2026-02-06T11:56:57.882Z"
}