{ "opencollection": "1.0.0", "info": { "name": "Sensor Bridge API Version 2 Access Point Auth API", "version": "2.4.1 [d4919ee69]" }, "items": [ { "info": { "name": "Auth", "type": "folder" }, "items": [ { "info": { "name": "API login. Obtain JWT accessToken and refreshToken.", "type": "http" }, "http": { "method": "POST", "url": "http://api/v2/auth/login", "body": { "type": "json", "data": "{}" } }, "docs": "

The API uses JSON Web Tokens for authentication. See https://jwt.io/introduction/ for documentation.

Default username / password is api / steute_api .
You may change the password in the web UI user settings menu.

Authentication within this Swagger UI

  1. Use the \"Try it out\" feature of auth/login to submit username/password and obtain an accessToken.
  2. Copy the entire accessToken string (without qou" }, { "info": { "name": "Refresh login. Get updated JWT accessToken and refreshToken.", "type": "http" }, "http": { "method": "GET", "url": "http://api/v2/auth/refresh", "auth": { "type": "apikey", "key": "JWTAuthorization", "value": "{{JWTAuthorization}}", "placement": "header" } }, "docs": "Refresh login. Get updated JWT accessToken and refreshToken." } ] } ], "bundled": true }