mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The sleep list rows of GET /api/measurements carry the main night's stage minutes, time in bed, time awake and awakenings, and the aggregate buckets carry the bucket's lowest and highest reading; none of these were in the contract. The create answer's union tried the plain row before the named sleep-stage result, so a contract check read a named-stage answer as a plain row and dropped its status. The responses are unchanged; the contract now says what they hold.
3.3 MiB
3.3 MiB