Skip to content

Latest commit

 

History

History
100 lines (55 loc) · 1.67 KB

LicenseApi.md

File metadata and controls

100 lines (55 loc) · 1.67 KB

SlambySdk.LicenseApi

All URIs are relative to https://localhost/

Method HTTP request Description
changeLicense POST /api/License
getLicense GET /api/License

changeLicense

changeLicense(opts)

Example

var SlambySdk = require('slamby-sdk');


var apiInstance = new SlambySdk.LicenseApi();

var opts = { 
  'model': new SlambySdk.ChangeLicense() // ChangeLicense | 
};

apiInstance.changeLicense(opts).then(function() {
  console.log('API called successfully.');
}, function(error) {
  console.error(error);
});

Parameters

Name Type Description Notes
model ChangeLicense [optional]

Return type

null (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/json, application/json-patch+json
  • Accept: Not defined

getLicense

License getLicense()

Example

var SlambySdk = require('slamby-sdk');


var apiInstance = new SlambySdk.LicenseApi();

apiInstance.getLicense().then(function(data) {
  console.log('API called successfully. Returned data: ' + data);
}, function(error) {
  console.error(error);
});

Parameters

This endpoint does not need any parameter.

Return type

License

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined