example-data.com
Menu
Browse docs and collections

Overview

tasks / #512

Test unit tests

projectId
projects/64
assigneeUserId
Jadon Nicolas @jadon.nicolas
title
Test unit tests
description
Subnecto tabesco cui vereor cogo averto catena mollitia repudiandae.
status
todo
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 512,
  "projectId": 64,
  "assigneeUserId": 213,
  "title": "Test unit tests",
  "description": "Subnecto tabesco cui vereor cogo averto catena mollitia repudiandae.",
  "status": "todo",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2026-01-27T09:37:36.106Z",
  "updatedAt": "2026-02-01T11:19:31.322Z"
}