Recovery Challenge
- userId
-
Loren Schmidt @loren_schmidt
- kind
- cardio
- name
- Recovery Challenge
- durationMinutes
- 19
- caloriesBurned
- 86
- intensity
- low
- notes
- Focused on form today
- performedAt
- createdAt
Overview
workouts / #548
Recovery Challenge
#548
Request
curl example
curl -sS \ "https://example-data.com/api/v1/workouts/548" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/workouts/548" ); 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/548"
);
const workout = (await res.json()) as Workout; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/workouts/548"
)
workout = res.json() Response
{
"id": 548,
"userId": 222,
"kind": "cardio",
"name": "Recovery Challenge",
"durationMinutes": 19,
"caloriesBurned": 86,
"intensity": "low",
"notes": "Focused on form today",
"performedAt": "2025-05-27T03:29:33.196Z",
"createdAt": "2025-05-27T03:59:38.383Z"
}