goals / #165
- userId
-
Alexander Beahan @alexander.beahan57
- name
- Reduce body fat
- category
- weight
- targetValue
- 11.6
- currentValue
- 3.6
- unit
- %
- deadline
- 2026-05-10
- isCompleted
- false
- createdAt
Component variants
Medium
Reduce body fat
#165
Small
goals/165 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/165" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/165"
);
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/165"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/165"
)
goal = res.json() {
"id": 165,
"userId": 169,
"name": "Reduce body fat",
"category": "weight",
"targetValue": 11.6,
"currentValue": 3.6,
"unit": "%",
"deadline": "2026-05-10",
"isCompleted": false,
"createdAt": "2025-12-30T21:50:52.349Z"
}