code: public List<DbxEntry.File> getRevisions(String path)
          throws DbxException
      {
          DbxPathV1.checkArgNonRoot("path", path);
  
          String apiPath = "1/revisions/auto" + path;
  
          return doGet(host.getApi(), apiPath, null, null, new DbxRequestUtil.ResponseHandler<List<DbxEntry.File>>() {
              public List<DbxEntry.File> handle(HttpRequestor.Response response)
                  throws DbxException
              {
                  if (response.getStatusCode() != 200) throw DbxRequestUtil.unexpectedStatus(response);
                  Collector<DbxEntry./*@Nullable*/File,ArrayList<DbxEntry.File>> collector =
                      Collector.NullSkipper.<DbxEntry.File,ArrayList<DbxEntry.File>>mk(new Collector.ArrayListCollector<DbxEntry.File>());
                  return DbxRequestUtil.readJsonFromResponse(JsonArrayReader.mk(DbxEntry.File.ReaderMaybeDeleted, collector), response);
              }
          });
      }
docs: Gets the metadata for the current and past revisions of a file (up to some limit) at
  a given path.
  
  @param path
  The Dropbox path that you want file revision metadata for.
  
  @return
  A list of metadata objects, one for each file revision.