goals / #175
- userId
-
Fatima Dicki @fatima_dicki
- name
- Reduce resting heart rate
- category
- fitness
- targetValue
- 63.2
- currentValue
- 31.7
- unit
- bpm
- deadline
- 2027-02-09
- isCompleted
- false
- createdAt
Component variants
Small
goals/175 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/175" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/175"
);
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/175"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/175"
)
goal = res.json() {
"id": 175,
"userId": 176,
"name": "Reduce resting heart rate",
"category": "fitness",
"targetValue": 63.2,
"currentValue": 31.7,
"unit": "bpm",
"deadline": "2027-02-09",
"isCompleted": false,
"createdAt": "2025-12-26T12:53:44.366Z"
}