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 |
File getMethodsForType(name)
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);
}
});
Name | Type | Description | Notes |
---|---|---|---|
name | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getNodes()
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);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getTypes()
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);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json