example-data.com
Menu
Browse docs and collections

Overview

tasks / #147

Configure API endpoint

projectId
projects/20
assigneeUserId
Douglas Frami @douglas.frami
title
Configure API endpoint
description
Celo adicio denuo maiores aiunt spiritus crinis.
status
done
priority
normal
dueDate
2026-04-27
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 147,
  "projectId": 20,
  "assigneeUserId": 148,
  "title": "Configure API endpoint",
  "description": "Celo adicio denuo maiores aiunt spiritus crinis.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-04-27",
  "createdAt": "2025-05-30T20:44:33.316Z",
  "updatedAt": "2025-08-06T16:12:11.630Z"
}