Gain muscle mass
- userId
-
Candace Mueller @candace.mueller
- name
- Gain muscle mass
- category
- weight
- targetValue
- 99
- currentValue
- 45.5
- unit
- kg
- deadline
- 2026-07-01
- isCompleted
- false
- createdAt
Overview
goals / #75
Gain muscle mass
#75
Request
curl example
curl -sS \ "https://example-data.com/api/v1/goals/75" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/goals/75" ); const goal = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/goals.d.ts https://example-data.com/types/goals.d.ts
import type { Goal } from "./types/goals";
const res = await fetch(
"https://example-data.com/api/v1/goals/75"
);
const goal = (await res.json()) as Goal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/goals/75"
)
goal = res.json() Response
{
"id": 75,
"userId": 75,
"name": "Gain muscle mass",
"category": "weight",
"targetValue": 99,
"currentValue": 45.5,
"unit": "kg",
"deadline": "2026-07-01",
"isCompleted": false,
"createdAt": "2026-03-04T16:26:30.515Z"
}