All URIs are relative to http://api.madana.io/rest
| Method | HTTP request | Description |
|---|---|---|
| get_methods_for_type | GET /datacollection/types/{name}/methods | |
| get_nodes | GET /datacollection/methods | |
| get_types | GET /datacollection/types |
file_type get_methods_for_type(name)
import time
import madana_apiclient
from madana_apiclient.api import data_collection_service_api
from pprint import pprint
# Defining the host is optional and defaults to http://api.madana.io/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = madana_apiclient.Configuration(
host = "http://api.madana.io/rest"
)
# Enter a context with an instance of the API client
with madana_apiclient.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_collection_service_api.DataCollectionServiceApi(api_client)
name = "name_example" # str |
# example passing only required values which don't have defaults set
try:
api_response = api_instance.get_methods_for_type(name)
pprint(api_response)
except madana_apiclient.ApiException as e:
print("Exception when calling DataCollectionServiceApi->get_methods_for_type: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str |
file_type
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
file_type get_nodes()
import time
import madana_apiclient
from madana_apiclient.api import data_collection_service_api
from pprint import pprint
# Defining the host is optional and defaults to http://api.madana.io/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = madana_apiclient.Configuration(
host = "http://api.madana.io/rest"
)
# Enter a context with an instance of the API client
with madana_apiclient.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_collection_service_api.DataCollectionServiceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_nodes()
pprint(api_response)
except madana_apiclient.ApiException as e:
print("Exception when calling DataCollectionServiceApi->get_nodes: %s\n" % e)This endpoint does not need any parameter.
file_type
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
file_type get_types()
import time
import madana_apiclient
from madana_apiclient.api import data_collection_service_api
from pprint import pprint
# Defining the host is optional and defaults to http://api.madana.io/rest
# See configuration.py for a list of all supported configuration parameters.
configuration = madana_apiclient.Configuration(
host = "http://api.madana.io/rest"
)
# Enter a context with an instance of the API client
with madana_apiclient.ApiClient() as api_client:
# Create an instance of the API class
api_instance = data_collection_service_api.DataCollectionServiceApi(api_client)
# example, this endpoint has no required or optional parameters
try:
api_response = api_instance.get_types()
pprint(api_response)
except madana_apiclient.ApiException as e:
print("Exception when calling DataCollectionServiceApi->get_types: %s\n" % e)This endpoint does not need any parameter.
file_type
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]