All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
getOpalDataSources | GET /v2/opal/data/config | Get Opal Data Sources |
getOpalDataSourcesOpalDataConfigGet | GET /opal/data/config | Get Opal Data Sources |
DataSourceConfig getOpalDataSources(token)
Get Opal Data Sources
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = PolicyApi()
val token : kotlin.String = token_example // kotlin.String |
try {
val result : DataSourceConfig = apiInstance.getOpalDataSources(token)
println(result)
} catch (e: ClientException) {
println("4xx response calling PolicyApi#getOpalDataSources")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PolicyApi#getOpalDataSources")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
token | kotlin.String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
DataSourceConfig getOpalDataSourcesOpalDataConfigGet(token)
Get Opal Data Sources
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = PolicyApi()
val token : kotlin.String = token_example // kotlin.String |
try {
val result : DataSourceConfig = apiInstance.getOpalDataSourcesOpalDataConfigGet(token)
println(result)
} catch (e: ClientException) {
println("4xx response calling PolicyApi#getOpalDataSourcesOpalDataConfigGet")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PolicyApi#getOpalDataSourcesOpalDataConfigGet")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
token | kotlin.String | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json