All URIs are relative to http://localhost/v3
Method | HTTP request | Description |
---|---|---|
getEnabledFeaturesFlag | GET /enabled-features-flag | Get enabled feature flags. |
List<String> getEnabledFeaturesFlag()
Get enabled feature flags.
// Import classes:
import com.delphix.dct.ApiClient;
import com.delphix.dct.ApiException;
import com.delphix.dct.Configuration;
import com.delphix.dct.auth.*;
import com.delphix.dct.models.*;
import com.delphix.dct.api.FeatureFlagApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost/v3");
// Configure API key authorization: ApiKeyAuth
ApiKeyAuth ApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//ApiKeyAuth.setApiKeyPrefix("Token");
FeatureFlagApi apiInstance = new FeatureFlagApi(defaultClient);
try {
List<String> result = apiInstance.getEnabledFeaturesFlag();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureFlagApi#getEnabledFeaturesFlag");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
List<String>
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |