example-data.com
Menu
Browse docs and collections

Overview

tasks / #497

Investigate error handling

projectId
projects/62
assigneeUserId
Brad Wisoky @brad.wisoky41
title
Investigate error handling
description
Praesentium utilis umquam beatae.
status
in_progress
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 497,
  "projectId": 62,
  "assigneeUserId": 154,
  "title": "Investigate error handling",
  "description": "Praesentium utilis umquam beatae.",
  "status": "in_progress",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2025-09-13T19:33:17.904Z",
  "updatedAt": "2026-01-02T15:04:28.361Z"
}