InformationApi
InformationApi
All URIs are relative to https://api.ionos.com
Method
HTTP request
Description
getInfo
ApiInfoDto getInfo()
Get the Service API Information
Retrieves the service API information.
Example
// Import classes:
import com.ionoscloud.certmanager.ApiClient;
import com.ionoscloud.certmanager.ApiException;
import com.ionoscloud.certmanager.Configuration;
import com.ionoscloud.certmanager.auth.*;
import com.ionoscloud.certmanager.model.*;
import com.ionoscloud.certmanager.api.InformationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: basicAuth
HttpBasicAuth basicAuthentication = (HttpBasicAuth) defaultClient.getAuthentication("basicAuth");
basicAuthentication.setUsername("YOUR USERNAME");
basicAuthentication.setPassword("YOUR PASSWORD");
InformationApi apiInstance = new InformationApi(defaultClient);
try {
ApiInfoDto result = apiInstance.getInfo();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InformationApi#getInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}Parameters
This endpoint does not need any parameter.
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
getJsonOpenApiSpec
File getJsonOpenApiSpec()
Get the Open API Documentation JSON
Displays the Open API documentation in the JSON format.
Example
Parameters
This endpoint does not need any parameter.
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/json
getYamlOpenApiSpec
File getYamlOpenApiSpec()
Get the Open API Documentation YAML
Displays the Open API documentation in the YAML format.
Example
Parameters
This endpoint does not need any parameter.
Return type
HTTP request headers
Content-Type: Not defined
Accept: application/yaml
Last updated
