Wayware Cloud — Weighing API POC

API quick reference

GET  /api/readings                  last-known combined readings (weight + photos together)
                                    for all devices (?images=true includes JPEG payloads)
GET  /api/readings/{deviceId}       one device (?fresh=true = on-demand fetch of weight +
                                    photos over the device connection, Mode C)
GET  /api/devices                   device registry + liveness
PUT  /api/devices/{id}/mode         {"mode":"ContinuousPush"|"OnDemandPull"}
GET  /api/metrics/latency           latency samples (server + end-to-end)
GET  /api/metrics/clock             NTP-style clock offset log
POST /api/tokens                    create token   (also: GET list, POST {id}/revoke, DELETE {id})
SignalR: /hubs/consumer             ?access_token=wway_…

Authenticate with Authorization: Bearer wway_… (create a token under "API access tokens").

An unhandled error has occurred. Reload 🗙