https://api.sciener.com/v3/gateway/detail
You can use gatewayId which from init gateway API to gain gateway detail
xxxxxxxxxxcurl --location --request GET 'https://api.sciener.com/v3/gateway/detail?clientId=4773aa036f7f49c68d876bb4be85c80c&accessToken=dfd5489d0cee31f0bdfaf59d0d42d71f&gatewayId=347&date=1626674054000'| Name | Type | Required | Description |
|---|---|---|---|
| clientId | String | Y | client_id from Create application |
| accessToken | String | Y | Access token,refer to: Get access token |
| gatewayId | Int | Y | GatewayId, from init gateway API |
| date | Long | Y | Current time (timestamp in millisecond) |
| Parameter | Type | Description |
|---|---|---|
| gatewayId | Int | Gateway ID |
| gatewayMac | String | Gateway MAC |
| gatewayName | String | Gateway name |
| gatewayVersion | Int | The version of gateway, 1-G1,2-G2,3-G3(wired gateway),4-G4(4G gateway) |
| networkName | String | The network name gateway connected to. |
| networkMac | String | Mac address of the network to which the gateway is connected |
| lockNum | Int | The number of locks connected to the gateway. |
| isOnline | Int | Is it online: 0-No, 1-Yes. The gateway will maintain a TCP connection with the gateway server, the cloud server consider it online if the connection is present, plug off the gateway may not break the connection immediately, it may take several minutes for the gateway server to break the connection after heartbeat timeout. |
xxxxxxxxxx{"gatewayMac": "DC:A4:53:85:39:74","lockNum": 1,"gatewayName": "G2_743985","networkName": "sciener","isOnline": 0,"gatewayVersion": 2,"gatewayId": 347}