example-data.com
Menu
Browse docs and collections

Overview

tasks / #493

Migrate API endpoint

projectId
projects/62
assigneeUserId
Rickie Sporer @rickie.sporer50
title
Migrate API endpoint
description
Artificiose caecus clibanus speciosus vitium tonsor beatae cernuus studio.
status
todo
priority
normal
dueDate
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 493,
  "projectId": 62,
  "assigneeUserId": 149,
  "title": "Migrate API endpoint",
  "description": "Artificiose caecus clibanus speciosus vitium tonsor beatae cernuus studio.",
  "status": "todo",
  "priority": "normal",
  "dueDate": null,
  "createdAt": "2025-09-08T09:50:01.178Z",
  "updatedAt": "2025-11-02T02:53:06.581Z"
}