How to use the Web API

Can someone give me an example of how to use the web api to export a list of rule for my project

Hi Andrew, welcome to the SonarSource Community!

A useful trick for teaching yourself the web API is to know that the SonarQube UI calls it. So you can spy on its actions using your browser dev tools. In you case, turn on network monitoring in your dev tools, then from your project navigate to inspect its quality profile(s) and you’ll see the calls involved.

Thanks, this was very helpful.