time-entries #160
- userId
-
Niko Wisozk @niko_wisozk
- taskId
- tasks/492
- projectId
- —
- description
- API integration
- startedAt
- endedAt
- durationMinutes
- 20
- createdAt
Overview
time-entries / #160
#160
#160
API integration
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/160" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/160" ); 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/160"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/160"
)
time_entrie = res.json() Response
{
"id": 160,
"userId": 56,
"taskId": 492,
"projectId": null,
"description": "API integration",
"startedAt": "2026-01-21T22:22:09.922Z",
"endedAt": "2026-01-21T22:42:09.922Z",
"durationMinutes": 20,
"createdAt": "2026-01-21T22:42:09.922Z"
}