0.0.2 • Published 4 years ago

@robsa/test_client v0.0.2

Weekly downloads
1
License
Unlicense
Repository
github
Last release
4 years ago

test_client

TestClient - client for test_client full definition for Common-API Alarms This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 2.0
  • Package version: 2.0
  • Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install @dxq/client --save

Finally, you need to build the module:

npm run build

Getting Started

Please follow the installation instruction and execute the following JS code:

var TestClient = require('test_client');


var api = new TestClient.AlarmMSApi()
var opts = {
  'currentPage': 0, // {Number} 
  'pageSize': 5 // {Number} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAlarms(opts, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8080/api

ClassMethodHTTP requestDescription
TestClient.AlarmMSApilistAlarmsGET /alarm/alarms

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.