Added support to use @link and @action with the same endpoint