example-data.com
Menu
Browse docs and collections

Overview

tasks / #35

Fix role-based access

projectId
projects/5
assigneeUserId
Jacynthe Sawayn @jacynthe_sawayn71
title
Fix role-based access
description
Tabula temporibus consectetur cohors quo cauda.
status
done
priority
normal
dueDate
2026-07-22
createdAt
updatedAt

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 35,
  "projectId": 5,
  "assigneeUserId": 146,
  "title": "Fix role-based access",
  "description": "Tabula temporibus consectetur cohors quo cauda.",
  "status": "done",
  "priority": "normal",
  "dueDate": "2026-07-22",
  "createdAt": "2026-02-07T23:54:03.249Z",
  "updatedAt": "2026-05-16T07:55:43.762Z"
}