From da62de51fbdb35c41e88986b537a73dc4cf001da Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Mon, 29 Nov 2021 12:11:08 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9ENUKI=20DEVELOPER=20|=20Nuki=20Bridge?= =?UTF-8?q?=20HTTP=20API=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NUKI-DEVELOPER-%7C-Nuki-Bridge-HTTP-API.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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