example-data.com
Menu
Browse docs and collections

Overview

tasks / #330

Document role-based access

projectId
projects/40
assigneeUserId
Hermina West @hermina.west3
title
Document role-based access
description
Texo versus cometes bardus earum utpote adicio vulgivagus.
status
done
priority
normal
dueDate
2026-06-18
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 330,
  "projectId": 40,
  "assigneeUserId": 51,
  "title": "Document role-based access",
  "description": "Texo versus cometes bardus earum utpote adicio vulgivagus.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-06-18",
  "createdAt": "2025-06-29T01:01:42.628Z",
  "updatedAt": "2025-10-08T08:42:44.548Z"
}