I am trying to make a rest call to the Sonarqube API and can't seem to be able to grab the hotspots. Below is the url I am trying to call:
baseURL/measures/component?metricKeys=hotspot&component=projectKey
Documentation says you are required to only pass hotspot
parameter.