docs: @RequestMapping(value = "/portletList", method = RequestMethod.GET)
      public ModelAndView listChannels(
              WebRequest webRequest,
              HttpServletRequest request,
              @RequestParam(value = "type", required = false) String type) {
  
          if (TYPE_MANAGE.equals(type)) {
              throw new UnsupportedOperationException(
                      "Moved to PortletRESTController under /api/portlets.json");
          }
  
          final IPerson user = personManager.getPerson(request);
          final Map<String, SortedSet<?>> registry = getRegistryOriginal(webRequest, user);
  
          // Since type=manage was deprecated channels is always empty but retained for backwards
          // compatibility
          registry.put("channels", new TreeSet<ChannelBean>());
  
          return new ModelAndView("jsonView", "registry", registry);
      }