example-data.com
Menu
Browse docs and collections

Overview

tasks / #479

Fix error handling

projectId
projects/60
assigneeUserId
Anne Hamill @anne_hamill75
title
Fix error handling
description
Quod cavus demo uterque.
status
todo
priority
low
dueDate
2026-07-04
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/tasks/479"
);
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/479"
);
const task = (await res.json()) as Task;

Python example

import requests

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

Response

{
  "id": 479,
  "projectId": 60,
  "assigneeUserId": 9,
  "title": "Fix error handling",
  "description": "Quod cavus demo uterque.",
  "status": "todo",
  "priority": "low",
  "dueDate": "2026-07-04",
  "createdAt": "2025-11-25T19:33:01.005Z",
  "updatedAt": "2026-05-17T17:13:18.343Z"
}