All URIs are relative to https://api.flexify.io
Method | HTTP request | Description |
---|---|---|
getAutoDeployAvailableLocationsForCurrentUser | GET /backend/rest/cloud-locations/auto-deploy | getAutoDeployAvailableLocationsForCurrentUser |
getExistingAvailableLocationsForCurrentUser | GET /backend/rest/cloud-locations | getExistingAvailableLocationsForCurrentUser |
List<CloudLocation> getAutoDeployAvailableLocationsForCurrentUser()
getAutoDeployAvailableLocationsForCurrentUser
// Import classes:
//import io.flexify.apiclient.handler.ApiClient;
//import io.flexify.apiclient.handler.ApiException;
//import io.flexify.apiclient.handler.Configuration;
//import io.flexify.apiclient.handler.auth.*;
//import io.flexify.apiclient.api.CloudLocationsControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Bearer
ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
Bearer.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.setApiKeyPrefix("Token");
CloudLocationsControllerApi apiInstance = new CloudLocationsControllerApi();
try {
List<CloudLocation> result = apiInstance.getAutoDeployAvailableLocationsForCurrentUser();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CloudLocationsControllerApi#getAutoDeployAvailableLocationsForCurrentUser");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json;charset=UTF-8
List<CloudLocation> getExistingAvailableLocationsForCurrentUser()
getExistingAvailableLocationsForCurrentUser
// Import classes:
//import io.flexify.apiclient.handler.ApiClient;
//import io.flexify.apiclient.handler.ApiException;
//import io.flexify.apiclient.handler.Configuration;
//import io.flexify.apiclient.handler.auth.*;
//import io.flexify.apiclient.api.CloudLocationsControllerApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: Bearer
ApiKeyAuth Bearer = (ApiKeyAuth) defaultClient.getAuthentication("Bearer");
Bearer.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Bearer.setApiKeyPrefix("Token");
CloudLocationsControllerApi apiInstance = new CloudLocationsControllerApi();
try {
List<CloudLocation> result = apiInstance.getExistingAvailableLocationsForCurrentUser();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling CloudLocationsControllerApi#getExistingAvailableLocationsForCurrentUser");
e.printStackTrace();
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json;charset=UTF-8