List gateways.
List gateways.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from POST /directory/connect/token. Scope olifyapi.
In: header
Query Parameters
$search?string
$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer
Page size. Host OData:MaxTop is 10000.
Range
0 <= value <= 10000$skip?integer
Range
0 <= valueHeader Parameters
Olify-Tenant-Id*string
Tenant GUID the caller is allowed to access.
Format
uuidResponse Body
GatewayExapplication/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/gateways" \ -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"{ "value": [ { "state": "Pending", "onlineStatus": "Unknown", "localityId": "9b71895f-8a69-4102-a04b-0d26c0eb6f9d", "locality": { "code": "string", "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "macAddress": {}, "lastRestart": "2019-08-24T14:15:22Z", "lastHeartbeat": "2019-08-24T14:15:22Z", "softwareVersion": "string", "hardwareName": "string", "hardwareConfiguration": "string", "serialNumber": "string", "osBuildVersion": "string", "extendedSystemInfo": { "uartMode": "string", "networkConnections": { "property1": "string", "property2": "string" } }, "runtimeInfo": { "networkInterfaces": [ { "name": "string", "macAddress": {}, "ipAddresses": {}, "type": {}, "status": {} } ], "disks": [ { "name": "string", "totalSize": "string", "availableFreeSpace": "string" } ], "publishQueueCount": "string", "saveQueueCount": "string", "diskCachedReadingCount": "string", "memoryInfo": { "total": "string", "free": "string" } }, "name": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" } ], "count": 0}