Class ByProjectKeyImageSearchPost

All Implemented Interfaces:
ClientRequestCommand<ImageSearchResponse>, CreateHttpRequestCommand, HttpRequestCommand<ImageSearchResponse>, RequestCommand<ImageSearchResponse>

public class ByProjectKeyImageSearchPost extends TypeBodyApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse,File>

Accepts an image file and returns similar products from product catalogue.



   CompletableFuture<ApiHttpResponse<com.commercetools.ml.models.image_search.ImageSearchResponse>> result = apiRoot
            .withProjectKey("{projectKey}")
            .imageSearch()
            .post(file)
            .execute()