„NUKI DEVELOPER | Nuki Bridge HTTP API“ ändern
parent
da62de51fb
commit
e7698c358c
@ -159,14 +159,32 @@ Possible doorsensor states (used in Endpoints below).
|
|||||||
<td>URL</td>
|
<td>URL</td>
|
||||||
<td>http://192.168.1.50:8080/auth</td>
|
<td>http://192.168.1.50:8080/auth</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<td>Usage</td>
|
<td>Usage</td>
|
||||||
<td>Enables the api (if not yet enabled) and returns the api token. If no api token has yet been set, a new (random) one is generated. When issuing this API-call the bridge turns on its LED for 30 seconds. The button of the bridge has to be pressed within this timeframe. Otherwise the bridge returns a negative success and no token.</td>
|
<td>Enables the api (if not yet enabled) and returns the api token. If no api token has yet been set, a new (random) one is generated. When issuing this API-call the bridge turns on its LED for 30 seconds. The button of the bridge has to be pressed within this timeframe. Otherwise the bridge returns a negative success and no token.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td rawspan="3">Response</td>
|
<td rowspan="2">Response</td>
|
||||||
<td colspan="2">JSON list containing the success of the authorization</td>
|
<td colspan="2">JSON list containing the success of the authorization</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>token</td>
|
<td>token</td>
|
||||||
<td>The api token</td>
|
<td>The api token</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td>Name</td>
|
||||||
|
<td>Jill</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="2">Phone</td>
|
||||||
|
<td>555-1234</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>555-8745</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
Loading…
x
Reference in New Issue
Block a user