code: public Subscriptions getSubscriptions(final SubscriptionState state, final QueryParams params) {
          if (state != null) { params.put("state", state.getType()); }
  
          return doGET(Subscriptions.SUBSCRIPTIONS_RESOURCE,
                  Subscriptions.class, params);
      }
docs: Get all the subscriptions on the site given some sort and filter params.
  <p>
  Returns all the subscriptions on the site
  
  @param state {@link SubscriptionState}
  @param params {@link QueryParams}
  @return Subscriptions on the site