time-entries #45
- userId
-
Casimir Smitham @casimir_smitham35
- taskId
- tasks/151
- projectId
- —
- description
- Incident response
- startedAt
- endedAt
- durationMinutes
- 36
- createdAt
Overview
time-entries / #45
#45
#45
Incident response
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/45" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/45" ); const timeEntry = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/time-entries.d.ts https://example-data.com/types/time-entries.d.ts
import type { TimeEntry } from "./types/time-entries";
const res = await fetch(
"https://example-data.com/api/v1/time-entries/45"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/45"
)
time_entrie = res.json() Response
{
"id": 45,
"userId": 16,
"taskId": 151,
"projectId": null,
"description": "Incident response",
"startedAt": "2026-03-17T07:11:26.087Z",
"endedAt": "2026-03-17T07:47:26.087Z",
"durationMinutes": 36,
"createdAt": "2026-03-17T07:47:26.087Z"
}