code: public List<SubscriptionState> getSubscriptions(int start, int take, String database) {
          RequestExecutor requestExecutor = _store.getRequestExecutor(ObjectUtils.firstNonNull(database, _store.getDatabase()));
  
          GetSubscriptionsCommand command = new GetSubscriptionsCommand(start, take);
          requestExecutor.execute(command);
  
          return Arrays.asList(command.getResult());
      }
docs: It downloads a list of all existing subscriptions in a database.
  
  @param start Range start
  @param take Maximum number of items that will be retrieved
  @param database Database to use
  @return List of subscriptions state