example-data.com
Menu
Browse docs and collections

Overview

tasks / #564

Refactor unit tests

projectId
projects/70
assigneeUserId
title
Refactor unit tests
description
Vere taceo thesis quam cotidie sodalitas.
status
done
priority
urgent
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 564,
  "projectId": 70,
  "assigneeUserId": null,
  "title": "Refactor unit tests",
  "description": "Vere taceo thesis quam cotidie sodalitas.",
  "status": "done",
  "priority": "urgent",
  "dueDate": null,
  "createdAt": "2025-10-25T17:38:07.739Z",
  "updatedAt": "2026-03-07T08:59:19.874Z"
}