goals / #121
- userId
-
Lennie Dickinson @lennie_dickinson8
- name
- Improve flexibility
- category
- fitness
- targetValue
- 30.6
- currentValue
- 8.1
- unit
- cm
- deadline
- 2026-04-22
- isCompleted
- false
- createdAt
Component variants
Medium
Improve flexibility
#121
Small
goals/121 Related
References
curl -sS \
"https://example-data.com/api/v1/goals/121" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/121"
);
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/121"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/121"
)
goal = res.json() {
"id": 121,
"userId": 121,
"name": "Improve flexibility",
"category": "fitness",
"targetValue": 30.6,
"currentValue": 8.1,
"unit": "cm",
"deadline": "2026-04-22",
"isCompleted": false,
"createdAt": "2025-11-28T04:31:52.294Z"
}