time-entries #512
- userId
-
Oran Torphy @oran_torphy
- taskId
- —
- projectId
- projects/56
- description
- Implementing feature
- startedAt
- endedAt
- durationMinutes
- 375
- createdAt
Overview
time-entries / #512
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/512" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/512" ); 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/512"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/512"
)
time_entrie = res.json() Response
{
"id": 512,
"userId": 189,
"taskId": null,
"projectId": 56,
"description": "Implementing feature",
"startedAt": "2026-01-27T22:32:03.048Z",
"endedAt": "2026-01-28T04:47:03.048Z",
"durationMinutes": 375,
"createdAt": "2026-01-28T04:47:03.048Z"
}