example-data.com

goals / #91

userId
Velma Jerde @velma.jerde56
name
Reduce body fat
category
weight
targetValue
15.3
currentValue
13.1
unit
%
deadline
2026-10-19
isCompleted
false
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/goals/91" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/goals/91"
);
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/91"
);
const goal = (await res.json()) as Goal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/goals/91"
)
goal = res.json()
{
  "id": 91,
  "userId": 93,
  "name": "Reduce body fat",
  "category": "weight",
  "targetValue": 15.3,
  "currentValue": 13.1,
  "unit": "%",
  "deadline": "2026-10-19",
  "isCompleted": false,
  "createdAt": "2026-04-24T22:24:43.293Z"
}
Draftbit