Nápověda

Get one gateway by id.

Get one gateway by id.

GET
/gateways/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Path Parameters

id*string
Formatuuid

Header Parameters

Olify-Tenant-Id*string

Tenant GUID the caller is allowed to access.

Formatuuid

Response Body

GatewayEx

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/gateways/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Olify-Tenant-Id: 497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "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"}