Weekend Workout
- userId
-
Antoinette Greenfelder @antoinette_greenfelder61
- kind
- strength
- name
- Weekend Workout
- durationMinutes
- 15
- caloriesBurned
- 127
- intensity
- high
- notes
- performedAt
- createdAt
Overview
workouts / #56
Weekend Workout
#56
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/56" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/56" ); 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/56"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/56"
)
workout = res.json() Response
{
"id": 56,
"userId": 22,
"kind": "strength",
"name": "Weekend Workout",
"durationMinutes": 15,
"caloriesBurned": 127,
"intensity": "high",
"notes": "",
"performedAt": "2025-06-17T08:58:56.790Z",
"createdAt": "2025-06-17T09:07:56.665Z"
}