example-data.com
Menu
Browse docs and collections

Overview

todo-lists / #62

Weekly Priorities

userId
Jo Haag-Mayer @jo_haag-mayer
name
Weekly Priorities
isArchived
false
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 62,
  "userId": 54,
  "name": "Weekly Priorities",
  "isArchived": false,
  "createdAt": "2025-08-12T20:25:49.793Z",
  "updatedAt": "2025-09-11T09:46:20.558Z"
}