diff --git a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md index c029001..e64594d 100644 --- a/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md +++ b/NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md @@ -153,4 +153,20 @@ Possible doorsensor states (used in Endpoints below). ## 5. Endpoints -### /auth \ No newline at end of file +### /auth + + + + + + + + + + + + + + + +
URLhttp://192.168.1.50:8080/auth
UsageEnables 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.
ResponseJSON list containing the success of the authorization
tokenThe api token
\ No newline at end of file