Skip to content

Latest commit

 

History

History
90 lines (54 loc) · 1.63 KB

SystemServiceApi.md

File metadata and controls

90 lines (54 loc) · 1.63 KB

MadanaApiclient.SystemServiceApi

All URIs are relative to http://api.madana.io/rest

Method HTTP request Description
getAllObjects GET /system/health
getApplication2 GET /system/usage Return the current application usage.

getAllObjects

File getAllObjects()

Example

import MadanaApiclient from 'madana-apiclient';

let apiInstance = new MadanaApiclient.SystemServiceApi();
apiInstance.getAllObjects((error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

This endpoint does not need any parameter.

Return type

File

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getApplication2

{String: Object} getApplication2()

Return the current application usage.

Return the current application usage

Example

import MadanaApiclient from 'madana-apiclient';

let apiInstance = new MadanaApiclient.SystemServiceApi();
apiInstance.getApplication2((error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

This endpoint does not need any parameter.

Return type

{String: Object}

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json