„NUKI DEVELOPER | Nuki Bridge HTTP API“ ändern

Marko Oldenburg 2021-11-29 12:52:41 +01:00
parent e7698c358c
commit 293de3a629

@ -154,37 +154,3 @@ Possible doorsensor states (used in Endpoints below).
## 5. Endpoints
### /auth
<table>
<tr>
<td>URL</td>
<td>http://192.168.1.50:8080/auth</td>
</tr>
<tr>
<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>
</tr>
<tr>
<td rowspan="2">Response</td>
<td colspan="2">JSON list containing the success of the authorization</td>
</tr>
<tr>
<td>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>