time-entries #142
- userId
-
Green Kozey @green_kozey22
- taskId
- tasks/312
- projectId
- —
- description
- Architecture discussion
- startedAt
- endedAt
- durationMinutes
- 308
- createdAt
Overview
time-entries / #142
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/142" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/142" ); 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/142"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/142"
)
time_entrie = res.json() Response
{
"id": 142,
"userId": 49,
"taskId": 312,
"projectId": null,
"description": "Architecture discussion",
"startedAt": "2025-12-20T03:47:37.481Z",
"endedAt": "2025-12-20T08:55:37.481Z",
"durationMinutes": 308,
"createdAt": "2025-12-20T08:55:37.481Z"
}