example-data.com
Menu
Browse docs and collections

Overview

tasks / #291

Investigate API endpoint

projectId
projects/34
assigneeUserId
title
Investigate API endpoint
description
Strues cubitum degero tonsor odit socius decens.
status
done
priority
normal
dueDate
2026-04-28
createdAt
updatedAt

Component variants

Related

References

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 291,
  "projectId": 34,
  "assigneeUserId": null,
  "title": "Investigate API endpoint",
  "description": "Strues cubitum degero tonsor odit socius decens.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-04-28",
  "createdAt": "2025-07-29T08:54:38.573Z",
  "updatedAt": "2026-05-14T18:30:22.089Z"
}