Package com.datadog.api.client.v2.api
Class ApiManagementApi
java.lang.Object
com.datadog.api.client.v2.api.ApiManagementApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApiManagementApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to createOpenAPI.static classManage optional parameters to listAPIs.static classManage optional parameters to updateOpenAPI. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.voiddeleteOpenAPI(UUID id) Deprecated.Deprecated.Deprecated.Deprecated.Get the API client.getOpenAPI(UUID id) Deprecated.getOpenAPIAsync(UUID id) Deprecated.Deprecated.Deprecated.listAPIs()Deprecated.listAPIs(ApiManagementApi.ListAPIsOptionalParameters parameters) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidsetApiClient(ApiClient apiClient) Set the API client.updateOpenAPI(UUID id) Deprecated.updateOpenAPI(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) Deprecated.Deprecated.updateOpenAPIAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) Deprecated.Deprecated.updateOpenAPIWithHttpInfoAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) Deprecated.
-
Constructor Details
-
ApiManagementApi
public ApiManagementApi() -
ApiManagementApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createOpenAPI
Deprecated.Create a new API.- Returns:
- CreateOpenAPIResponse
- Throws:
ApiException- if fails to make API call
-
createOpenAPIAsync
Deprecated.Create a new API.- Returns:
- CompletableFuture<CreateOpenAPIResponse>
-
createOpenAPI
@Deprecated public CreateOpenAPIResponse createOpenAPI(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) throws ApiException Deprecated.Create a new API.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CreateOpenAPIResponse
- Throws:
ApiException- if fails to make API call
-
createOpenAPIAsync
@Deprecated public CompletableFuture<CreateOpenAPIResponse> createOpenAPIAsync(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) Deprecated.Create a new API.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<CreateOpenAPIResponse>
-
createOpenAPIWithHttpInfo
@Deprecated public ApiResponse<CreateOpenAPIResponse> createOpenAPIWithHttpInfo(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) throws ApiException Deprecated.Create a new API from the OpenAPI specification given. See the API Catalog documentation for additional information about the possible metadata. It returns the created API ID.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<CreateOpenAPIResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 201 API created successfully - 400 Bad request - 403 Forbidden - 429 Too many requests -
-
createOpenAPIWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<CreateOpenAPIResponse>> createOpenAPIWithHttpInfoAsync(ApiManagementApi.CreateOpenAPIOptionalParameters parameters) Deprecated.Create a new API.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<CreateOpenAPIResponse>>
-
deleteOpenAPI
Deprecated.Delete an API.- Parameters:
id- ID of the API to delete (required)- Throws:
ApiException- if fails to make API call
-
deleteOpenAPIAsync
Deprecated.Delete an API.- Parameters:
id- ID of the API to delete (required)- Returns:
- CompletableFuture
-
deleteOpenAPIWithHttpInfo
Deprecated.Delete a specific API by ID.- Parameters:
id- ID of the API to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 API deleted successfully - 400 Bad request - 403 Forbidden - 404 API not found error - 429 Too many requests -
-
deleteOpenAPIWithHttpInfoAsync
Deprecated.Delete an API.- Parameters:
id- ID of the API to delete (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getOpenAPI
Deprecated.Get an API.- Parameters:
id- ID of the API to retrieve (required)- Returns:
- File
- Throws:
ApiException- if fails to make API call
-
getOpenAPIAsync
Deprecated.Get an API.- Parameters:
id- ID of the API to retrieve (required)- Returns:
- CompletableFuture<File>
-
getOpenAPIWithHttpInfo
Deprecated.Retrieve information about a specific API in OpenAPI format file.- Parameters:
id- ID of the API to retrieve (required)- Returns:
- ApiResponse<File>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad request - 403 Forbidden - 404 API not found error - 429 Too many requests -
-
getOpenAPIWithHttpInfoAsync
Deprecated.Get an API.- Parameters:
id- ID of the API to retrieve (required)- Returns:
- CompletableFuture<ApiResponse<File>>
-
listAPIs
Deprecated.List APIs.See
listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).- Returns:
- ListAPIsResponse
- Throws:
ApiException- if fails to make API call
-
listAPIsAsync
Deprecated.List APIs.See
listAPIsWithHttpInfoAsync(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).- Returns:
- CompletableFuture<ListAPIsResponse>
-
listAPIs
@Deprecated public ListAPIsResponse listAPIs(ApiManagementApi.ListAPIsOptionalParameters parameters) throws ApiException Deprecated.List APIs.See
listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- ListAPIsResponse
- Throws:
ApiException- if fails to make API call
-
listAPIsAsync
@Deprecated public CompletableFuture<ListAPIsResponse> listAPIsAsync(ApiManagementApi.ListAPIsOptionalParameters parameters) Deprecated.List APIs.See
listAPIsWithHttpInfoAsync(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ListAPIsResponse>
-
listAPIsWithHttpInfo
@Deprecated public ApiResponse<ListAPIsResponse> listAPIsWithHttpInfo(ApiManagementApi.ListAPIsOptionalParameters parameters) throws ApiException Deprecated.List APIs and their IDs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<ListAPIsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad request - 403 Forbidden - 429 Too many requests -
-
listAPIsWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<ListAPIsResponse>> listAPIsWithHttpInfoAsync(ApiManagementApi.ListAPIsOptionalParameters parameters) Deprecated.List APIs.See
listAPIsWithHttpInfo(com.datadog.api.client.v2.api.ApiManagementApi.ListAPIsOptionalParameters).- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<ListAPIsResponse>>
-
updateOpenAPI
Deprecated.Update an API.- Parameters:
id- ID of the API to modify (required)- Returns:
- UpdateOpenAPIResponse
- Throws:
ApiException- if fails to make API call
-
updateOpenAPIAsync
Deprecated.Update an API.- Parameters:
id- ID of the API to modify (required)- Returns:
- CompletableFuture<UpdateOpenAPIResponse>
-
updateOpenAPI
@Deprecated public UpdateOpenAPIResponse updateOpenAPI(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) throws ApiException Deprecated.Update an API.- Parameters:
id- ID of the API to modify (required)parameters- Optional parameters for the request.- Returns:
- UpdateOpenAPIResponse
- Throws:
ApiException- if fails to make API call
-
updateOpenAPIAsync
@Deprecated public CompletableFuture<UpdateOpenAPIResponse> updateOpenAPIAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) Deprecated.Update an API.- Parameters:
id- ID of the API to modify (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<UpdateOpenAPIResponse>
-
updateOpenAPIWithHttpInfo
@Deprecated public ApiResponse<UpdateOpenAPIResponse> updateOpenAPIWithHttpInfo(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) throws ApiException Deprecated.Update information about a specific API. The given content will replace all API content of the given ID. The ID is returned by the create API, or can be found in the URL in the API catalog UI.- Parameters:
id- ID of the API to modify (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<UpdateOpenAPIResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 API updated successfully - 400 Bad request - 403 Forbidden - 404 API not found error - 429 Too many requests -
-
updateOpenAPIWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<UpdateOpenAPIResponse>> updateOpenAPIWithHttpInfoAsync(UUID id, ApiManagementApi.UpdateOpenAPIOptionalParameters parameters) Deprecated.Update an API.- Parameters:
id- ID of the API to modify (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<UpdateOpenAPIResponse>>
-