code: public HealthCheckInfo getLiveness(String token) throws GitLabApiException {
          try {
              URL livenessUrl = getApiClient().getUrlWithBase("-", "liveness");
              GitLabApiForm formData = new GitLabApiForm().withParam("token", token, false);
              Response response = get(Response.Status.OK, formData.asMap(), livenessUrl);
              return (response.readEntity(HealthCheckInfo.class));
          } catch (IOException ioe) {
              throw (new GitLabApiException(ioe));
          }
      }
docs: Get Health Checks from the liveness endpoint.
  
  <pre><code>GitLab Endpoint: GET /-/liveness</code></pre>
  
  @param token Health Status token
  @return HealthCheckInfo instance
  @throws GitLabApiException if any exception occurs
  @deprecated