goals / #61
- userId
-
Mckenna Hegmann-Price @mckenna.hegmann-price77
- name
- Improve flexibility
- category
- fitness
- targetValue
- 15.9
- currentValue
- 7.6
- unit
- cm
- deadline
- 2027-03-20
- isCompleted
- false
- createdAt
Component variants
Medium
Improve flexibility
#61
Small
goals/61 Related
curl -sS \
"https://example-data.com/api/v1/goals/61" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/goals/61"
);
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/61"
);
const goal = (await res.json()) as Goal;import requests
res = requests.get(
"https://example-data.com/api/v1/goals/61"
)
goal = res.json() {
"id": 61,
"userId": 62,
"name": "Improve flexibility",
"category": "fitness",
"targetValue": 15.9,
"currentValue": 7.6,
"unit": "cm",
"deadline": "2027-03-20",
"isCompleted": false,
"createdAt": "2025-06-21T19:29:02.868Z"
}