Long-term Goals
- userId
-
Kaleb Schmidt @kaleb.schmidt
- name
- Long-term Goals
- isArchived
- true
- createdAt
- updatedAt
Overview
todo-lists / #172
Long-term Goals
#172
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/172" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/172" ); 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/172"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/172"
)
todo_list = res.json() Response
{
"id": 172,
"userId": 171,
"name": "Long-term Goals",
"isArchived": true,
"createdAt": "2026-04-15T14:00:38.046Z",
"updatedAt": "2026-04-29T09:23:00.368Z"
}