measurements #444
- userId
-
Jonathan Howe @jonathan_howe77
- kind
- weight
- value
- 83.1
- unit
- kg
- measuredAt
- createdAt
Overview
measurements / #444
#444
#444
Request
curl example
curl -sS \ "https://example-data.com/api/v1/measurements/444" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/measurements/444" ); const measurement = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/measurements.d.ts https://example-data.com/types/measurements.d.ts
import type { Measurement } from "./types/measurements";
const res = await fetch(
"https://example-data.com/api/v1/measurements/444"
);
const measurement = (await res.json()) as Measurement; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/measurements/444"
)
measurement = res.json() Response
{
"id": 444,
"userId": 150,
"kind": "weight",
"value": 83.1,
"unit": "kg",
"measuredAt": "2026-05-05T12:35:19.428Z",
"createdAt": "2026-05-05T12:38:28.314Z"
}