0.2.3 • Published 6 years ago

abkbeacon-terminal-swagger v0.2.3

Weekly downloads
-
License
Unlicense
Repository
-
Last release
6 years ago

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

ClassMethodHTTP requestDescription
AbkBeacon.DefaultApichangeKeyGET /device/{id}/key
AbkBeacon.DefaultApigetInHouseGET /device/{id}/inHouse
AbkBeacon.DefaultApigetInfoGET /station/{id}/info
AbkBeacon.DefaultApigetKeyGET /station/{id}/key
AbkBeacon.DefaultApigetNameGET /device/{id}/info
AbkBeacon.DefaultApitestKeyGET /device/{id}/verify
AbkBeacon.DefaultApivisitGET /station/{id}/visit

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago