example-data.com
Menu
Browse docs and collections

Overview

tasks / #315

Fix role-based access

projectId
projects/39
assigneeUserId
title
Fix role-based access
description
Astrum corrupti alter magnam nulla provident celebrer solitudo.
status
blocked
priority
high
dueDate
createdAt
updatedAt

Component variants

Related

References

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 315,
  "projectId": 39,
  "assigneeUserId": null,
  "title": "Fix role-based access",
  "description": "Astrum corrupti alter magnam nulla provident celebrer solitudo.",
  "status": "blocked",
  "priority": "high",
  "dueDate": null,
  "createdAt": "2026-02-10T15:35:30.451Z",
  "updatedAt": "2026-02-23T15:55:30.214Z"
}