example-data.com
Menu
Browse docs and collections

Overview

todo-lists / #179

Home Projects

userId
Gerald Lind @gerald_lind57
name
Home Projects
isArchived
false
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/todo-lists/179" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/todo-lists/179"
);
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/179"
);
const todoList = (await res.json()) as TodoList;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/todo-lists/179"
)
todo_list = res.json()

Response

{
  "id": 179,
  "userId": 179,
  "name": "Home Projects",
  "isArchived": false,
  "createdAt": "2025-11-23T02:13:25.373Z",
  "updatedAt": "2025-12-22T03:16:15.408Z"
}