Package com.datadog.api.client.v2.api
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the API client.getStegadographyWidgets(File image) Get widgets from an image.getStegadographyWidgetsAsync(File image) Get widgets from an image.Extracts watermarks from a PNG image and returns the cached widget data associated with each watermark found.Get widgets from an image.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
StegadographyApi
public StegadographyApi() -
StegadographyApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
getStegadographyWidgets
Get widgets from an image.- Parameters:
image- PNG image file to scan for embedded watermarks. (required)- Returns:
- StegadographyGetWidgetsResponse
- Throws:
ApiException- if fails to make API call
-
getStegadographyWidgetsAsync
Get widgets from an 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 amultipart/form-datarequest with the file in theimagefield. 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) Get widgets from an image.- Parameters:
image- PNG image file to scan for embedded watermarks. (required)- Returns:
- CompletableFuture<ApiResponse<StegadographyGetWidgetsResponse>>
-