Skip to content

Latest commit

 

History

History
166 lines (106 loc) · 3.63 KB

DataCollectionServiceApi.md

File metadata and controls

166 lines (106 loc) · 3.63 KB

OpenAPI\Client\DataCollectionServiceApi

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()

getMethodsForType($name): \SplFileObject

Example

<?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;
}

Parameters

Name Type Description Notes
name string

Return type

\SplFileObject

Authorization

No authorization required

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getNodes()

getNodes(): \SplFileObject

Example

<?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;
}

Parameters

This endpoint does not need any parameter.

Return type

\SplFileObject

Authorization

No authorization required

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]

getTypes()

getTypes(): \SplFileObject

Example

<?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;
}

Parameters

This endpoint does not need any parameter.

Return type

\SplFileObject

Authorization

No authorization required

HTTP request headers

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

[Back to top] [Back to API list] [Back to Model list] [Back to README]