example-data.com
Menu
Browse docs and collections

Overview

tasks / #117

Refactor database query

projectId
projects/16
assigneeUserId
Michale Hilpert @michale_hilpert62
title
Refactor database query
description
Bibo strues beatus spiritus contego subseco baiulus vir venia stipes.
status
blocked
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 117,
  "projectId": 16,
  "assigneeUserId": 250,
  "title": "Refactor database query",
  "description": "Bibo strues beatus spiritus contego subseco baiulus vir venia stipes.",
  "status": "blocked",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2025-10-16T02:16:15.138Z",
  "updatedAt": "2025-10-24T10:36:16.186Z"
}