Personal Goals
- userId
-
Brycen Bayer @brycen_bayer60
- name
- Personal Goals
- isArchived
- false
- createdAt
- updatedAt
Overview
todo-lists / #5
Personal Goals
#5
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/5" ); 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/5"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/5"
)
todo_list = res.json() Response
{
"id": 5,
"userId": 6,
"name": "Personal Goals",
"isArchived": false,
"createdAt": "2025-06-13T21:49:00.998Z",
"updatedAt": "2026-03-30T14:37:55.116Z"
}