time-entries #50
- userId
-
Gavin Lowe @gavin_lowe
- taskId
- tasks/37
- projectId
- —
- description
- Documentation update
- startedAt
- endedAt
- durationMinutes
- 162
- createdAt
Overview
time-entries / #50
#50
#50
Documentation update
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/50" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/50" ); 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/50"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/50"
)
time_entrie = res.json() Response
{
"id": 50,
"userId": 17,
"taskId": 37,
"projectId": null,
"description": "Documentation update",
"startedAt": "2026-01-23T00:52:05.072Z",
"endedAt": "2026-01-23T03:34:05.072Z",
"durationMinutes": 162,
"createdAt": "2026-01-23T03:34:05.072Z"
}