# data_sink_api All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- ****](data_sink_api.md#) | **GET** /data-sinks | List registered datasources ****](data_sink_api.md#) | **POST** /data-sinks | Register a data source # **** > models::DataSink () List registered datasources ### Required Parameters This endpoint does not need any parameter. ### Return type [**models::DataSink**](DataSink.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json, [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **** > models::DataSink (optional) Register a data source ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **optional** | **map[string]interface{}** | optional parameters | nil if no parameters ### Optional Parameters Optional parameters are passed through a map[string]interface{}. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **data_sink** | [**DataSink**](DataSink.md)| | ### Return type [**models::DataSink**](DataSink.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)