example-data.com
Menu
Browse docs and collections

Overview

tasks / #137

Optimize unit tests

projectId
projects/19
assigneeUserId
Virginie O'Connell @virginie.oconnell55
title
Optimize unit tests
description
Viscus amplus varius ait corrupti.
status
todo
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 137,
  "projectId": 19,
  "assigneeUserId": 70,
  "title": "Optimize unit tests",
  "description": "Viscus amplus varius ait corrupti.",
  "status": "todo",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2025-10-07T14:26:32.006Z",
  "updatedAt": "2026-01-17T11:54:39.325Z"
}