code: public Record[] historyRecord(long start, long end) throws PiliException {
          String path = appendQuery(baseUrl + "/historyrecord", start, end);
          try {
              String resp = cli.callWithGet(path);
              HistoryRet ret = gson.fromJson(resp, HistoryRet.class);
              return ret.items;
          } catch (PiliException e) {
              throw e;
          } catch (Exception e) {
              throw new PiliException(e);
          }
      }
docs: query the stream history
  
  @param start
  @param end
  @return
  @throws PiliException