Shopping List
- userId
-
Rupert Lebsack @rupert.lebsack
- name
- Shopping List
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #247
Shopping List
#247
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/247" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/247" ); 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/247"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/247"
)
todo_list = res.json() Response
{
"id": 247,
"userId": 249,
"name": "Shopping List",
"isArchived": false,
"createdAt": "2025-08-02T23:38:12.597Z",
"updatedAt": "2025-12-24T07:12:57.558Z"
}