example-data.com
Menu
Browse docs and collections

Overview

tasks / #421

Integrate data validation

projectId
projects/50
assigneeUserId
Ryan Conroy @ryan_conroy
title
Integrate data validation
description
Villa solitudo spero adamo vorax vita.
status
in_progress
priority
normal
dueDate
2026-06-14
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 421,
  "projectId": 50,
  "assigneeUserId": 73,
  "title": "Integrate data validation",
  "description": "Villa solitudo spero adamo vorax vita.",
  "status": "in_progress",
  "priority": "normal",
  "dueDate": "2026-06-14",
  "createdAt": "2026-04-23T04:17:24.919Z",
  "updatedAt": "2026-04-24T19:22:52.504Z"
}