time-entries #40
- userId
-
Zachariah Herzog @zachariah_herzog42
- taskId
- tasks/443
- projectId
- —
- description
- API integration
- startedAt
- endedAt
- durationMinutes
- 462
- createdAt
Overview
time-entries / #40
#40
#40
API integration
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/40" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/40" ); 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/40"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/40"
)
time_entrie = res.json() Response
{
"id": 40,
"userId": 15,
"taskId": 443,
"projectId": null,
"description": "API integration",
"startedAt": "2026-04-13T01:06:18.831Z",
"endedAt": "2026-04-13T08:48:18.831Z",
"durationMinutes": 462,
"createdAt": "2026-04-13T08:48:18.831Z"
}