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. |
File getAllObjects()
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);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
{String: Object} getApplication2()
Return the current application usage.
Return the current application usage
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);
}
});
This endpoint does not need any parameter.
{String: Object}
No authorization required
- Content-Type: Not defined
- Accept: application/json