0.0.2 • Published 6 years ago

heathcliff v0.0.2

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
6 years ago

heathcliff

Heathcliff - JavaScript client for heathcliff A RESTful API for terrain and propagation tools. This SDK is automatically generated by the Swagger Codegen project:

  • API version: v1
  • Package version: v1
  • Build date: 2018-03-14T13:32:17.211-06:00
  • Build package: class io.swagger.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 heathcliff --save

git

If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

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

var Heathcliff = require('heathcliff');

var defaultClient = Heathcliff.ApiClient.instance;

// Configure HTTP basic authorization: Basic
var Basic = defaultClient.authentications['Basic'];
Basic.username = 'YOUR USERNAME'
Basic.password = 'YOUR PASSWORD'

var api = new Heathcliff.VApi()

var data = new Heathcliff.AntennaPatternFile(); // {AntennaPatternFile} 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AntennasFilesCreate(data, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost/api

ClassMethodHTTP requestDescription
Heathcliff.VApiv1AntennasFilesCreatePOST /v1/antennas/files/
Heathcliff.VApiv1AntennasFilesDeleteDELETE /v1/antennas/files/{id}/
Heathcliff.VApiv1AntennasFilesListGET /v1/antennas/files/
Heathcliff.VApiv1AntennasFilesPartialUpdatePATCH /v1/antennas/files/{id}/
Heathcliff.VApiv1AntennasFilesReadGET /v1/antennas/files/{id}/
Heathcliff.VApiv1AntennasFilesUpdatePUT /v1/antennas/files/{id}/
Heathcliff.VApiv1AntennasPatternsCreatePOST /v1/antennas/patterns/
Heathcliff.VApiv1AntennasPatternsDeleteDELETE /v1/antennas/patterns/{id}/
Heathcliff.VApiv1AntennasPatternsListGET /v1/antennas/patterns/
Heathcliff.VApiv1AntennasPatternsPartialUpdatePATCH /v1/antennas/patterns/{id}/
Heathcliff.VApiv1AntennasPatternsReadGET /v1/antennas/patterns/{id}/
Heathcliff.VApiv1AntennasPatternsUpdatePUT /v1/antennas/patterns/{id}/
Heathcliff.VApiv1CollectionsCreatePOST /v1/collections/
Heathcliff.VApiv1CollectionsDeleteDELETE /v1/collections/{id}/
Heathcliff.VApiv1CollectionsListGET /v1/collections/
Heathcliff.VApiv1CollectionsPartialUpdatePATCH /v1/collections/{id}/
Heathcliff.VApiv1CollectionsReadGET /v1/collections/{id}/
Heathcliff.VApiv1CollectionsUpdatePUT /v1/collections/{id}/
Heathcliff.VApiv1FeaturesPointCreatePOST /v1/features/point/
Heathcliff.VApiv1FeaturesPointDeleteDELETE /v1/features/point/{id}/
Heathcliff.VApiv1FeaturesPointListGET /v1/features/point/
Heathcliff.VApiv1FeaturesPointPartialUpdatePATCH /v1/features/point/{id}/
Heathcliff.VApiv1FeaturesPointReadGET /v1/features/point/{id}/
Heathcliff.VApiv1FeaturesPointUpdatePUT /v1/features/point/{id}/
Heathcliff.VApiv1FeaturesProfileCreatePOST /v1/features/profile/
Heathcliff.VApiv1FeaturesProfileDeleteDELETE /v1/features/profile/{id}/
Heathcliff.VApiv1FeaturesProfileListGET /v1/features/profile/
Heathcliff.VApiv1FeaturesProfilePartialUpdatePATCH /v1/features/profile/{id}/
Heathcliff.VApiv1FeaturesProfileReadGET /v1/features/profile/{id}/
Heathcliff.VApiv1FeaturesProfileUpdatePUT /v1/features/profile/{id}/
Heathcliff.VApiv1FilesCreatePOST /v1/files/
Heathcliff.VApiv1FilesDeleteDELETE /v1/files/{id}/
Heathcliff.VApiv1FilesListGET /v1/files/
Heathcliff.VApiv1FilesPartialUpdatePATCH /v1/files/{id}/
Heathcliff.VApiv1FilesReadGET /v1/files/{id}/
Heathcliff.VApiv1FilesUpdatePUT /v1/files/{id}/
Heathcliff.VApiv1JobsCreatePOST /v1/jobs/
Heathcliff.VApiv1JobsDeleteDELETE /v1/jobs/{id}/
Heathcliff.VApiv1JobsListGET /v1/jobs/
Heathcliff.VApiv1JobsPartialUpdatePATCH /v1/jobs/{id}/
Heathcliff.VApiv1JobsReadGET /v1/jobs/{id}/
Heathcliff.VApiv1JobsUpdatePUT /v1/jobs/{id}/
Heathcliff.VApiv1ListGET /v1/
Heathcliff.VApiv1PropagationListGET /v1/propagation/
Heathcliff.VApiv1PropagationP526knifeedgeCreatePOST /v1/propagation/p526knifeedge/
Heathcliff.VApiv1PropagationP526knifeedgeDeleteDELETE /v1/propagation/p526knifeedge/{id}/
Heathcliff.VApiv1PropagationP526knifeedgeListGET /v1/propagation/p526knifeedge/
Heathcliff.VApiv1PropagationP526knifeedgePartialUpdatePATCH /v1/propagation/p526knifeedge/{id}/
Heathcliff.VApiv1PropagationP526knifeedgeReadGET /v1/propagation/p526knifeedge/{id}/
Heathcliff.VApiv1PropagationP526knifeedgeUpdatePUT /v1/propagation/p526knifeedge/{id}/
Heathcliff.VApiv1UsersListGET /v1/users/
Heathcliff.VApiv1UsersReadGET /v1/users/{id}/

Documentation for Models

Documentation for Authorization

Basic

  • Type: HTTP basic authentication
0.0.2

6 years ago

0.0.1

6 years ago

0.1.0

6 years ago