example-data.com
Menu
Browse docs and collections

Overview

tasks / #275

Investigate error handling

projectId
projects/33
assigneeUserId
title
Investigate error handling
description
Textilis velociter spargo concedo antiquus altus.
status
todo
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/tasks/275" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/275"
);
const task = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/tasks.d.ts https://example-data.com/types/tasks.d.ts
import type { Task } from "./types/tasks";

const res = await fetch(
  "https://example-data.com/api/v1/tasks/275"
);
const task = (await res.json()) as Task;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/tasks/275"
)
task = res.json()

Response

{
  "id": 275,
  "projectId": 33,
  "assigneeUserId": null,
  "title": "Investigate error handling",
  "description": "Textilis velociter spargo concedo antiquus altus.",
  "status": "todo",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-06-28T06:45:22.592Z",
  "updatedAt": "2025-08-05T07:33:02.753Z"
}