example-data.com
Menu
Browse docs and collections

Overview

tasks / #563

Configure API endpoint

projectId
projects/69
assigneeUserId
Otho Nikolaus @otho.nikolaus99
title
Configure API endpoint
description
Quisquam tricesimus amet caute.
status
done
priority
normal
dueDate
2026-07-24
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 563,
  "projectId": 69,
  "assigneeUserId": 209,
  "title": "Configure API endpoint",
  "description": "Quisquam tricesimus amet caute.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-07-24",
  "createdAt": "2026-05-14T08:19:24.389Z",
  "updatedAt": "2026-05-17T10:20:48.086Z"
}