All URIs are relative to https://api.eu-west-2.outscale.com/api/v1
Method | HTTP request | Description |
---|---|---|
readPublicCatalog | POST /ReadPublicCatalog |
ReadPublicCatalogResponse readPublicCatalog(readPublicCatalogRequest)
// Import classes:
import io.github.outscale.osc_sdk_java.client.ApiClient;
import io.github.outscale.osc_sdk_java.client.ApiException;
import io.github.outscale.osc_sdk_java.client.Configuration;
import io.github.outscale.osc_sdk_java.client.models.*;
import io.github.outscale.osc_sdk_java.client.api.PublicCatalogApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.eu-west-2.outscale.com/api/v1");
// Configure AWS Signature V4 authorization
defaultClient.setAWS4Configuration("YOUR_ACCESS_KEY", "YOUR_SECRET_KEY", "REGION", "SERVICE")
PublicCatalogApi apiInstance = new PublicCatalogApi(defaultClient);
ReadPublicCatalogRequest readPublicCatalogRequest = new ReadPublicCatalogRequest(); // ReadPublicCatalogRequest |
try {
ReadPublicCatalogResponse result = apiInstance.readPublicCatalog(readPublicCatalogRequest);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling PublicCatalogApi#readPublicCatalog");
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 |
---|---|---|---|
readPublicCatalogRequest | ReadPublicCatalogRequest | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | The HTTP 200 response (OK). | - |