example-data.com
Menu
Browse docs and collections

Overview

tasks / #401

Update error handling

projectId
projects/48
assigneeUserId
title
Update error handling
description
Vorago adduco cicuta facere vociferor temporibus bardus.
status
done
priority
normal
dueDate
2026-05-14
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 401,
  "projectId": 48,
  "assigneeUserId": null,
  "title": "Update error handling",
  "description": "Vorago adduco cicuta facere vociferor temporibus bardus.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-05-14",
  "createdAt": "2026-05-10T18:55:36.219Z",
  "updatedAt": "2026-05-11T07:44:51.200Z"
}