Long-term Goals
- userId
-
Niko Wisozk @niko_wisozk
- name
- Long-term Goals
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #65
Long-term Goals
#65
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/65" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/65" ); 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/65"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/65"
)
todo_list = res.json() Response
{
"id": 65,
"userId": 56,
"name": "Long-term Goals",
"isArchived": false,
"createdAt": "2026-02-07T23:54:21.135Z",
"updatedAt": "2026-04-03T21:39:19.052Z"
}