example-data.com

measurements / #42

userId
Kenya Abshire @kenya.abshire
kind
body_fat_pct
value
11.4
unit
%
measuredAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/measurements/42" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/measurements/42"
);
const measurement = await res.json();
import type { Measurement } from "https://example-data.com/types/measurements.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/measurements/42"
);
const measurement = (await res.json()) as Measurement;
import requests

res = requests.get(
    "https://example-data.com/api/v1/measurements/42"
)
measurement = res.json()
{
  "id": 42,
  "userId": 18,
  "kind": "body_fat_pct",
  "value": 11.4,
  "unit": "%",
  "measuredAt": "2025-08-27T19:31:44.441Z",
  "createdAt": "2025-08-27T20:08:53.199Z"
}
Draftbit