Weekend Training
- userId
-
Alexander Beahan @alexander.beahan57
- kind
- strength
- name
- Weekend Training
- durationMinutes
- 40
- caloriesBurned
- 400
- intensity
- high
- notes
- Personal best on squats
- performedAt
- createdAt
Overview
workouts / #420
Weekend Training
#420
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/420" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/420" ); const workout = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/workouts.d.ts https://example-data.com/types/workouts.d.ts
import type { Workout } from "./types/workouts";
const res = await fetch(
"https://example-data.com/api/v1/workouts/420"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/420"
)
workout = res.json() Response
{
"id": 420,
"userId": 169,
"kind": "strength",
"name": "Weekend Training",
"durationMinutes": 40,
"caloriesBurned": 400,
"intensity": "high",
"notes": "Personal best on squats",
"performedAt": "2026-03-12T12:34:52.128Z",
"createdAt": "2026-03-12T13:23:18.168Z"
}