measurements #326
- userId
-
Earnestine Dickinson @earnestine_dickinson
- kind
- chest
- value
- 101.8
- unit
- cm
- measuredAt
- createdAt
Overview
measurements / #326
#326
#326
Request
curl example
curl -sS \ "https://example-data.com/api/v1/measurements/326" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/measurements/326" ); 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/326"
);
const measurement = (await res.json()) as Measurement; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/measurements/326"
)
measurement = res.json() Response
{
"id": 326,
"userId": 110,
"kind": "chest",
"value": 101.8,
"unit": "cm",
"measuredAt": "2025-08-02T21:35:38.920Z",
"createdAt": "2025-08-02T22:19:46.962Z"
}