„NUKI DEVELOPER | Nuki Bridge HTTP API“ ändern
parent
4d81d2a9c1
commit
799ded80fb
@ -330,4 +330,38 @@ http://192.168.1.50:8080/configAuth?enable=0&ts=2019-03-05T01:06:53Z&rnr=4711&ha
|
|||||||
<th>HTTP 401</th>
|
<th>HTTP 401</th>
|
||||||
<td colspan="2">Returned if the given token is invalid or a hashed token parameter is missing.</td>
|
<td colspan="2">Returned if the given token is invalid or a hashed token parameter is missing.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Example-Calls</th>
|
||||||
|
<td colspan="3">http://192.168.1.50:8080/list?token=123456
|
||||||
|
http://192.168.1.50:8080/list?ts=2019-03-05T01:06:53Z&rnr=4711&hash=f52eb5ce382e356c4239f8fb4d0a87402bb95b7b3124f0762b806ad7d0d01cb6</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th>Example-Response</th>
|
||||||
|
<td colspan="3">[{ </br>
|
||||||
|
"nukiId": 1,</br>
|
||||||
|
"deviceType": 0,</br>
|
||||||
|
"name": "Home",</br>
|
||||||
|
"lastKnownState": {</br>
|
||||||
|
"mode": 2,</br>
|
||||||
|
"state": 1,</br>
|
||||||
|
"stateName": "unlocked",</br>
|
||||||
|
"batteryCritical": false,</br>
|
||||||
|
"batteryCharging": false,</br>
|
||||||
|
"batteryChargeState": 85,</br>
|
||||||
|
"doorsensorState": 2,</br>
|
||||||
|
"doorsensorStateName": "door closed",</br>
|
||||||
|
"timestamp": "2018-10-03T06:49:00+00:00" }</br>
|
||||||
|
},{</br>
|
||||||
|
"nukiId": 2,</br>
|
||||||
|
"deviceType": 2,</br>
|
||||||
|
"name": "Community door",</br>
|
||||||
|
"lastKnownState": {</br>
|
||||||
|
"mode": 3,</br>
|
||||||
|
"state": 3,</br>
|
||||||
|
"stateName": "rto active",</br>
|
||||||
|
"batteryCritical": false,</br>
|
||||||
|
"timestamp": "2018-10-03T06:49:00+00:00"</br>
|
||||||
|
}</br>
|
||||||
|
}]</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
Loading…
x
Reference in New Issue
Block a user