Shopping List
- userId
-
Earlene Wisozk @earlene.wisozk
- name
- Shopping List
- isArchived
- true
- createdAt
- updatedAt
Overview
todo-lists / #215
Shopping List
#215
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/215" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/215" ); 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/215"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/215"
)
todo_list = res.json() Response
{
"id": 215,
"userId": 216,
"name": "Shopping List",
"isArchived": true,
"createdAt": "2025-07-22T11:10:44.511Z",
"updatedAt": "2025-08-23T06:48:27.077Z"
}