example-data.com
Menu
Browse docs and collections

Overview

tasks / #327

Add API endpoint

projectId
projects/40
assigneeUserId
Michaela Feeney @michaela_feeney46
title
Add API endpoint
description
Terebro comitatus angulus.
status
in_review
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 327,
  "projectId": 40,
  "assigneeUserId": 87,
  "title": "Add API endpoint",
  "description": "Terebro comitatus angulus.",
  "status": "in_review",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2026-02-23T07:02:38.632Z",
  "updatedAt": "2026-04-21T07:18:55.431Z"
}