Make API calls inside of a custom plugin

Hi guys I am trying to bring in some data through API calls and then visually display it through a widget on sonarqube. How can I make the API calls inside of the plugin? Is there any kind of special annotation that I need or should that class implement something?
Thanks a lot,

Hi,

Your plugin can contribute a new WS that will return the data you need. On frontend side, you can call your WS and do the rendering. See:
https://docs.sonarqube.org/latest/extend/extend-web-app/