Read devices' live status
Asks the station's hardware bridge about each address and answers one status per address, in the order asked: IN_SERVICE, OUT_OF_ORDER, OFFLINE, UNKNOWN_TO_BRIDGE, or BRIDGE_UNREACHABLE when no bridge is configured or it gave no usable answer in time. The bridge never fails this read. **Required permission:** `referential.device-status:read`
/referential/v1/device-statusesAsks the station's hardware bridge about each address and answers one status per address, in the order asked: IN_SERVICE, OUT_OF_ORDER, OFFLINE, UNKNOWN_TO_BRIDGE, or BRIDGE_UNREACHABLE when no bridge is configured or it gave no usable answer in time. The bridge never fails this read.
Required permission: referential.device-status:read
Authorization
oauth2 In: header
Query Parameters
A bridge address, capability@place or capability[role]@place. Repeat the parameter for each device, 1 to 50; they are answered in this order.
0 <= items <= 50Response Body
*/*
curl -X GET "https://example.com/referential/v1/device-statuses"{ "data": [ { "address": "string", "checked_at": "2019-08-24T14:15:22Z", "condition": "HEALTHY", "health": "AVAILABLE", "last_confirmed_at": "2019-08-24T14:15:22Z", "reason": "PARTIAL_FUNCTION", "stale": true, "status": "IN_SERVICE" } ]}Retire a departure zone
Retires a zone: its bays leave it, and it stays readable as history. **Required permission:** `referential.bay:write`
Compare the bridge's devices with the station's equipment
Asks the station's hardware bridge which devices it serves and compares them with the active equipment: NOT_LISTED for a device the bridge serves that no equipment names, NOT_SERVED for equipment the bridge does not serve, each with its place. compared is false when no bridge is configured or it gave no list in time; the bridge never fails this read. **Required permission:** `referential.device-status:read`