goals / #97
- userId
-
Tabitha McKenzie @tabitha_mckenzie
- name
- Reduce body fat
- category
- weight
- targetValue
- 15.3
- currentValue
- 11.1
- unit
- %
- deadline
- 2026-11-23
- isCompleted
- false
- createdAt
Component variants
Medium
Reduce body fat
#97
Small
goals/97 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/97" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/97"
);
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/97"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/97"
)
goal = res.json() {
"id": 97,
"userId": 98,
"name": "Reduce body fat",
"category": "weight",
"targetValue": 15.3,
"currentValue": 11.1,
"unit": "%",
"deadline": "2026-11-23",
"isCompleted": false,
"createdAt": "2026-03-23T20:33:05.357Z"
}