Using Sonar Web API to fetch Failed Quality Gates

How can I use the Sonar Web API to fetch the list of projects that has failed quality gates in master branch using a powershell script. I see this API- GET api/qualitygates/project_status. But not sure how to use this. Please help.

Hi,

Welcome to the community!

Have you tried this via the UI? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.

You may also find this guide helpful.

 
HTH,
Ann