time-entries #303
- userId
-
Allan Buckridge @allan_buckridge
- taskId
- —
- projectId
- projects/68
- description
- Planning session
- startedAt
- endedAt
- durationMinutes
- 195
- createdAt
Overview
time-entries / #303
#303
#303
Planning session
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/303" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/303" ); 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/303"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/303"
)
time_entrie = res.json() Response
{
"id": 303,
"userId": 106,
"taskId": null,
"projectId": 68,
"description": "Planning session",
"startedAt": "2025-12-30T03:22:51.606Z",
"endedAt": "2025-12-30T06:37:51.606Z",
"durationMinutes": 195,
"createdAt": "2025-12-30T06:37:51.606Z"
}