goals / #68
- userId
-
Virginie O'Connell @virginie.oconnell55
- name
- Reduce body fat
- category
- weight
- targetValue
- 10.1
- currentValue
- 2.9
- unit
- %
- deadline
- 2026-08-19
- isCompleted
- false
- createdAt
Component variants
Medium
Reduce body fat
#68
Small
goals/68 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/68" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/68"
);
const goal = await res.json();import type { Goal } from "https://example-data.com/types/goals.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/goals/68"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/68"
)
goal = res.json() {
"id": 68,
"userId": 70,
"name": "Reduce body fat",
"category": "weight",
"targetValue": 10.1,
"currentValue": 2.9,
"unit": "%",
"deadline": "2026-08-19",
"isCompleted": false,
"createdAt": "2026-02-26T10:48:00.423Z"
}