code: public static Status getSiteStatus(String site, String token) throws Exception {
      HttpClient client = httpClient();
      
      HttpGet get = new HttpGet(site + StatusCommand.JERSEY_ENDPOINT);
      addAuthHeader(token, get);
      
      HttpResponse response = client.execute(get);
      HttpEntity entity = response.getEntity();
      if(entity.getContentType().getValue().equals(MediaType.APPLICATION_JSON)) { 
        String responseContent = EntityUtils.toString(entity);            
        return new Gson().fromJson(responseContent, new TypeToken<Status>() {}.getType());
      }
      return null;
    }
docs: Retrieves the status of a Cadmium site into a {@link Status} Object.
  
  @param site The site uri of the Cadmium site to get the status from.
  @param token The Github API token used for authenticating the request.
  @return
  @throws Exception