Class ByProjectKeyImageSearchPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<ByProjectKeyImageSearchPost,ImageSearchResponse,File>
com.commercetools.ml.client.ByProjectKeyImageSearchPost
All Implemented Interfaces:
io.vrap.rmf.base.client.ClientRequestCommand<ImageSearchResponse>, io.vrap.rmf.base.client.RequestCommand<ImageSearchResponse>

public class ByProjectKeyImageSearchPost extends io.vrap.rmf.base.client.BodyApiMethod<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()