Class ByProjectKeyVariantsHead

All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyVariantsHead>, ErrorableTrait<ByProjectKeyVariantsHead>, ClientRequestCommand<JsonNode>, CreateHttpRequestCommand, HttpRequestCommand<JsonNode>, RequestCommand<JsonNode>

Checks if a Variant exists for the provided query predicate. Returns a 200 status if any Variants match, or a 404 status otherwise.



   CompletableFuture<ApiHttpResponse<tools.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .variants()
            .head()
            .withWhere(where)
            .execute()