example-data.com

todos / #123

todoListId
todo-lists/10
title
Book meeting notes
isDone
false
dueDate
2026-06-06
completedAt
createdAt
updatedAt

Component variants

Related

References

curl -sS \
  "https://example-data.com/api/v1/todos/123" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/todos/123"
);
const todo = await res.json();
import type { Todo } from "https://example-data.com/types/todos.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/todos/123"
);
const todo = (await res.json()) as Todo;
import requests

res = requests.get(
    "https://example-data.com/api/v1/todos/123"
)
todo = res.json()
{
  "id": 123,
  "todoListId": 10,
  "title": "Book meeting notes",
  "isDone": false,
  "dueDate": "2026-06-06",
  "completedAt": null,
  "createdAt": "2025-11-29T10:08:24.384Z",
  "updatedAt": "2026-03-08T20:29:40.065Z"
}
Draftbit