code: @GET
      @Path("/archivesummaries")
      public Map<String, List<ArchiveSummary>> getArchiveSummaries(@QueryParam("repositoryIds") Set<String> repositoryIds) {
          if (CollectionUtils.isEmpty(repositoryIds)) {
              repositoryIds = repositories.keySet();
          }
          Map<String, List<ArchiveSummary>> result = new LinkedHashMap<String, List<ArchiveSummary>>();
          for (String repositoryId : repositoryIds) {
              List<ArchiveSummary> repoSummaries = getScriptRepo(repositoryId).getSummaries();
              result.put(repositoryId, repoSummaries);
          }
          return result;
      }
docs: Get a map of summaries from different repositories.
  @param repositoryIds ids for repositories to query. if empty, then all repositories will be queried.
  @return map of repository id to list of summaries in the respective repository