Learning Objectives
- userId
-
Cayla Farrell @cayla_farrell
- name
- Learning Objectives
- isArchived
- true
- createdAt
- updatedAt
Overview
todo-lists / #3
Learning Objectives
#3
Request
curl example
curl -sS \ "https://example-data.com/api/v1/todo-lists/3" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/todo-lists/3" ); 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/3"
);
const todoList = (await res.json()) as TodoList; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/todo-lists/3"
)
todo_list = res.json() Response
{
"id": 3,
"userId": 4,
"name": "Learning Objectives",
"isArchived": true,
"createdAt": "2025-09-25T11:11:25.730Z",
"updatedAt": "2025-11-14T21:00:22.030Z"
}