Class ByProjectKeyImageSearchPostString

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<T,TResult,String>
io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyImageSearchPostString,ImageSearchResponse>
com.commercetools.ml.client.ByProjectKeyImageSearchPostString
All Implemented Interfaces:
io.vrap.rmf.base.client.ClientRequestCommand<ImageSearchResponse>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<ImageSearchResponse>, io.vrap.rmf.base.client.RequestCommand<ImageSearchResponse>

public class ByProjectKeyImageSearchPostString extends io.vrap.rmf.base.client.StringBodyApiMethod<ByProjectKeyImageSearchPostString,ImageSearchResponse>

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("")
            .execute()