All URIs are relative to http://api.madana.io/rest.
Method | HTTP request | Description |
---|---|---|
getMethodsForType() | GET /datacollection/types/{name}/methods | |
getNodes() | GET /datacollection/methods | |
getTypes() | GET /datacollection/types |
getMethodsForType($name): \SplFileObject
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\DataCollectionServiceApi(
// 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()
);
$name = 'name_example'; // string
try {
$result = $apiInstance->getMethodsForType($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DataCollectionServiceApi->getMethodsForType: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
name | string |
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getNodes(): \SplFileObject
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\DataCollectionServiceApi(
// 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->getNodes();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DataCollectionServiceApi->getNodes: ', $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]
getTypes(): \SplFileObject
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\DataCollectionServiceApi(
// 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->getTypes();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DataCollectionServiceApi->getTypes: ', $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]