docs: public RestRepositories getRepositories( HttpServletRequest request ) {
          RestRepositories repositories = new RestRepositories();
          for (String repositoryName : RepositoryManager.getJcrRepositoryNames()) {
              addRepository(request, repositories, repositoryName);
          }
          return repositories;
      }