time-entries #529
- userId
-
Tabitha Ruecker @tabitha.ruecker
- taskId
- —
- projectId
- projects/67
- description
- Writing tests
- startedAt
- endedAt
- durationMinutes
- 102
- createdAt
Overview
time-entries / #529
#529
#529
Writing tests
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/529" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/529" ); 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/529"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/529"
)
time_entrie = res.json() Response
{
"id": 529,
"userId": 197,
"taskId": null,
"projectId": 67,
"description": "Writing tests",
"startedAt": "2026-03-29T07:35:48.262Z",
"endedAt": "2026-03-29T09:17:48.262Z",
"durationMinutes": 102,
"createdAt": "2026-03-29T09:17:48.262Z"
}