time-entries #517
- userId
-
Rosemary Krajcik @rosemary_krajcik
- taskId
- —
- projectId
- —
- description
- Incident response
- startedAt
- endedAt
- durationMinutes
- 118
- createdAt
Overview
time-entries / #517
#517
#517
Incident response
Request
curl example
curl -sS \ "https://example-data.com/api/v1/time-entries/517" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/time-entries/517" ); 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/517"
);
const timeEntry = (await res.json()) as TimeEntry; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/time-entries/517"
)
time_entrie = res.json() Response
{
"id": 517,
"userId": 191,
"taskId": null,
"projectId": null,
"description": "Incident response",
"startedAt": "2025-12-25T12:05:05.293Z",
"endedAt": "2025-12-25T14:03:05.293Z",
"durationMinutes": 118,
"createdAt": "2025-12-25T14:03:05.293Z"
}