time-entries #108
- userId
-
Lenny Howe @lenny.howe
- taskId
- tasks/430
- projectId
- —
- description
- Meeting preparation
- startedAt
- endedAt
- durationMinutes
- 421
- createdAt
Overview
time-entries / #108
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/108" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/108" ); 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/108"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/108"
)
time_entrie = res.json() Response
{
"id": 108,
"userId": 37,
"taskId": 430,
"projectId": null,
"description": "Meeting preparation",
"startedAt": "2026-04-10T14:07:56.486Z",
"endedAt": "2026-04-10T21:08:56.486Z",
"durationMinutes": 421,
"createdAt": "2026-04-10T21:08:56.486Z"
}