example-data.com
Menu
Browse docs and collections

Overview

tasks / #2

Remove error handling

projectId
projects/1
assigneeUserId
Cyril Frami @cyril_frami88
title
Remove error handling
description
Cogo minima spiritus desino.
status
in_progress
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 2,
  "projectId": 1,
  "assigneeUserId": 182,
  "title": "Remove error handling",
  "description": "Cogo minima spiritus desino.",
  "status": "in_progress",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2026-03-12T15:43:22.062Z",
  "updatedAt": "2026-03-31T00:07:47.827Z"
}