All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getOpalDataSources() | GET /v2/opal/data/config | Get Opal Data Sources |
getOpalDataSourcesOpalDataConfigGet() | GET /opal/data/config | Get Opal Data Sources |
getOpalDataSources($token): \OpenAPI\Client\Model\DataSourceConfig
Get Opal Data Sources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PolicyApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = 'token_example'; // string
try {
$result = $apiInstance->getOpalDataSources($token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PolicyApi->getOpalDataSources: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
token | string | [optional] |
\OpenAPI\Client\Model\DataSourceConfig
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getOpalDataSourcesOpalDataConfigGet($token): \OpenAPI\Client\Model\DataSourceConfig
Get Opal Data Sources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\PolicyApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$token = 'token_example'; // string
try {
$result = $apiInstance->getOpalDataSourcesOpalDataConfigGet($token);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PolicyApi->getOpalDataSourcesOpalDataConfigGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
token | string | [optional] |
\OpenAPI\Client\Model\DataSourceConfig
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]