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(): \SplFileObject
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->getAllObjects();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemServiceApi->getAllObjects: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getApplication2(): map[string,object]
Return the current application usage.
Return the current application usage
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemServiceApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
try {
$result = $apiInstance->getApplication2();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemServiceApi->getApplication2: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
map[string,object]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]