abkbeacon-terminal-swagger
v0.2.3
Published
Communication_between_the_ABK_Beacon_Station_and_the_UserDatabase
Readme
abkbeacon-terminal-swagger
AbkBeacon - JavaScript client for abk_beacon Communication between the ABK-Beacon-Station and the UserDatabase This SDK is automatically generated by the Swagger Codegen project:
- API version: 0.2.0
- Package version: 0.2.3
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
Getting Started
var AbkBeacon = require('abkbeacon-terminal-swagger');
var api = new AbkBeacon.DefaultApi()
var id = "id_example"; // {String} ID to be connected with new key
var oneTimePassword = "oneTimePassword_example"; // {String} One-time-password
var newKey = "newKey_example"; // {String} The new RSA-key
var opts = {
'oldId': "oldId_example" // {String} The former ID of the client
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.changeKey(id, oneTimePassword, newKey, opts, callback);
Documentation for API Endpoints
All URIs are relative to https://localhost
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- AbkBeacon.DefaultApi | changeKey | GET /device/{id}/key | AbkBeacon.DefaultApi | getInHouse | GET /device/{id}/inHouse | AbkBeacon.DefaultApi | getInfo | GET /station/{id}/info | AbkBeacon.DefaultApi | getKey | GET /station/{id}/key | AbkBeacon.DefaultApi | getName | GET /device/{id}/info | AbkBeacon.DefaultApi | testKey | GET /device/{id}/verify | AbkBeacon.DefaultApi | visit | GET /station/{id}/visit |
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.
