time-entries #589
- userId
-
Loren Schmidt @loren_schmidt
- taskId
- tasks/499
- projectId
- —
- description
- Security review
- startedAt
- endedAt
- durationMinutes
- 242
- createdAt
Overview
time-entries / #589
#589
#589
Security review
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/589" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/589" ); 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/589"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/589"
)
time_entrie = res.json() Response
{
"id": 589,
"userId": 222,
"taskId": 499,
"projectId": null,
"description": "Security review",
"startedAt": "2026-03-27T05:06:54.858Z",
"endedAt": "2026-03-27T09:08:54.858Z",
"durationMinutes": 242,
"createdAt": "2026-03-27T09:08:54.858Z"
}