The web_api endpoint api/hotspots/search can efficiently return a structure containing all hotspots or those matching some criteria, but only returns a subset of the information about each hotspot. To get more requires calling api/hotspots/show, but that function only does one hotspot at a time. Whereas api/issues/search is efficient – one gets complete information for multiple issues at one time.
So please either:
- Have api/hotspots/show take a comma-separated hotspot-key list, or
- Have api/hotspots/search return complete information (perhaps with an additionalFields parameter).