code: @RequestMapping(value = "actions/{entityType}/{id}", method = RequestMethod.GET)
      public Resources<Action> getActions(@PathVariable ProjectEntityType entityType, @PathVariable ID id) {
          return Resources.of(
                  extensionManager.getExtensions(ProjectEntityActionExtension.class).stream()
                          .map(x -> x.getAction(getEntity(entityType, id)).map(action -> resolveExtensionAction(x, action)))
                          .filter(Optional::isPresent)
                          .map(Optional::get)
                          .collect(Collectors.toList()),
                  uri(MvcUriComponentsBuilder.on(getClass()).getActions(entityType, id))
          );
      }
docs: Gets the list of actions for an entity