SONAR-4807 Fix api/sources WS when resource parameter is missing