# data_source_api All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- ****](data_source_api.md#) | **GET** /data-sources | List registered datasources ****](data_source_api.md#) | **POST** /data-sources | Register a data source # **** > models::DataSource () List registered datasources ### Required Parameters This endpoint does not need any parameter. ### Return type [**models::DataSource**](DataSource.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::DataSource (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_source** | [**DataSource**](DataSource.md)| | ### Return type [**models::DataSource**](DataSource.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)