example-data.com
Menu
Browse docs and collections

Overview

tasks / #43

Refactor API endpoint

projectId
projects/6
assigneeUserId
Kenya Abshire @kenya.abshire
title
Refactor API endpoint
description
Fugit laboriosam dolorem acerbitas demitto correptius talus trado.
status
in_review
priority
high
dueDate
2026-06-29
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 43,
  "projectId": 6,
  "assigneeUserId": 18,
  "title": "Refactor API endpoint",
  "description": "Fugit laboriosam dolorem acerbitas demitto correptius talus trado.",
  "status": "in_review",
  "priority": "high",
  "dueDate": "2026-06-29",
  "createdAt": "2025-06-01T20:15:32.698Z",
  "updatedAt": "2025-10-08T18:00:09.226Z"
}