I am using the SonarQube 6.4 API in order to search for issues. I do have two questions regarding it:
I tried http://localhost:9000/api/issues/search?vulnerabilities=BLOCKER&language=JAVASCRIPT
and I've got results for other languages in the json too.
To be fair, it doesn't explicitly say that 'js' is the language key for JavaScript, but it does show it in the example. The easiest way to know what the key is for a language is do to a search for its issues via the interface and then look at the resulting URL