Class ByProjectKeyStatesHead

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

Checks if a State exists for a given Query Predicate. Returns a 200 OK status if any States match the Query Predicate or a 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .states()
            .head()
            .execute()