example-data.com
Menu
Browse docs and collections

Overview

todo-lists / #178

Travel Plans

userId
Ismael Ward @ismael_ward
name
Travel Plans
isArchived
false
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 178,
  "userId": 178,
  "name": "Travel Plans",
  "isArchived": false,
  "createdAt": "2025-08-08T10:59:07.465Z",
  "updatedAt": "2025-10-02T16:08:38.873Z"
}