example-data.com
Menu
Browse docs and collections

Overview

tasks / #522

Update UI component

projectId
projects/65
assigneeUserId
Carmel Schultz @carmel.schultz
title
Update UI component
description
Tactus annus vos arcus arma adeo adulescens.
status
in_progress
priority
urgent
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 522,
  "projectId": 65,
  "assigneeUserId": 156,
  "title": "Update UI component",
  "description": "Tactus annus vos arcus arma adeo adulescens.",
  "status": "in_progress",
  "priority": "urgent",
  "dueDate": null,
  "createdAt": "2025-06-04T06:06:43.981Z",
  "updatedAt": "2025-11-25T00:10:16.627Z"
}