SmartGare
API referenceEndpoints

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`

GET/referential/v1/device-statuses/bridge-comparison

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

AuthorizationBearer <token>

In: header

Response Body

*/*

curl -X GET "https://example.com/referential/v1/device-statuses/bridge-comparison"
{  "checked_at": "2019-08-24T14:15:22Z",  "compared": true,  "mismatches": [    {      "address": "string",      "kind": "NOT_LISTED",      "place": "string"    }  ]}