SONAR-5774 WS /api/events does not work for views
Automatic merge from branch-4.5

* origin/branch-4.5:
  SONAR-5774 WS /api/events does not work for views