All URIs are relative to http://localhost:9000
Method | HTTP request | Description |
---|---|---|
installTools | POST /installer |
installTools(installRequest)
Installs Cloudiator tools on provided node
// Import classes:
import io.github.cloudiator.rest.ApiClient;
import io.github.cloudiator.rest.ApiException;
import io.github.cloudiator.rest.Configuration;
import io.github.cloudiator.rest.auth.*;
import io.github.cloudiator.rest.models.*;
import io.github.cloudiator.rest.api.MiscApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:9000");
// 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");
MiscApi apiInstance = new MiscApi(defaultClient);
InstallationRequest installRequest = new InstallationRequest(); // InstallationRequest | a request to install the cloudiator tools on a provided node
try {
apiInstance.installTools(installRequest);
} catch (ApiException e) {
System.err.println("Exception when calling MiscApi#installTools");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
installRequest | InstallationRequest | a request to install the cloudiator tools on a provided node |
null (empty response body)
- Content-Type: application/json
- Accept: Not defined
Status code | Description | Response headers |
---|---|---|
200 | OK | - |