Class StegadographyApi

java.lang.Object
com.datadog.api.client.v2.api.StegadographyApi

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class StegadographyApi extends Object
  • Constructor Details

    • StegadographyApi

      public StegadographyApi()
    • StegadographyApi

      public StegadographyApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
      Get the API client.
      Returns:
      API client
    • setApiClient

      public void setApiClient(ApiClient apiClient)
      Set the API client.
      Parameters:
      apiClient - an instance of API client
    • getStegadographyWidgets

      public StegadographyGetWidgetsResponse getStegadographyWidgets(File image) throws ApiException
      Parameters:
      image - PNG image file to scan for embedded watermarks. (required)
      Returns:
      StegadographyGetWidgetsResponse
      Throws:
      ApiException - if fails to make API call
    • getStegadographyWidgetsAsync

      public CompletableFuture<StegadographyGetWidgetsResponse> getStegadographyWidgetsAsync(File image)
      Parameters:
      image - PNG image file to scan for embedded watermarks. (required)
      Returns:
      CompletableFuture<StegadographyGetWidgetsResponse>
    • getStegadographyWidgetsWithHttpInfo

      public ApiResponse<StegadographyGetWidgetsResponse> getStegadographyWidgetsWithHttpInfo(File image) throws ApiException
      Extracts watermarks from a PNG image and returns the cached widget data associated with each watermark found. The image must be uploaded as a multipart/form-data request with the file in the image field. Only widgets belonging to the authenticated organization are returned.
      Parameters:
      image - PNG image file to scan for embedded watermarks. (required)
      Returns:
      ApiResponse<StegadographyGetWidgetsResponse>
      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 -
      415 Unsupported Media Type -
      429 Too many requests -
      500 Internal Server Error -
    • getStegadographyWidgetsWithHttpInfoAsync

      public CompletableFuture<ApiResponse<StegadographyGetWidgetsResponse>> getStegadographyWidgetsWithHttpInfoAsync(File image)
      Parameters:
      image - PNG image file to scan for embedded watermarks. (required)
      Returns:
      CompletableFuture<ApiResponse<StegadographyGetWidgetsResponse>>