Skip to content

Latest commit

 

History

History
132 lines (79 loc) · 2.33 KB

DataCollectionServiceApi.md

File metadata and controls

132 lines (79 loc) · 2.33 KB

MadanaApiclient.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

File getMethodsForType(name)

Example

import MadanaApiclient from 'madana-apiclient';

let apiInstance = new MadanaApiclient.DataCollectionServiceApi();
let name = "name_example"; // String | 
apiInstance.getMethodsForType(name, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
name String

Return type

File

Authorization

No authorization required

HTTP request headers

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

getNodes

File getNodes()

Example

import MadanaApiclient from 'madana-apiclient';

let apiInstance = new MadanaApiclient.DataCollectionServiceApi();
apiInstance.getNodes((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

getTypes

File getTypes()

Example

import MadanaApiclient from 'madana-apiclient';

let apiInstance = new MadanaApiclient.DataCollectionServiceApi();
apiInstance.getTypes((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