Long-term Goals
- userId
-
Daisy Kuhic @daisy_kuhic24
- name
- Long-term Goals
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #173
Long-term Goals
#173
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/173" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/173" ); 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/173"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/173"
)
todo_list = res.json() Response
{
"id": 173,
"userId": 172,
"name": "Long-term Goals",
"isArchived": false,
"createdAt": "2025-07-03T16:59:57.270Z",
"updatedAt": "2026-01-09T03:14:11.546Z"
}