Is there a REST API to recompute an application?

Hi all,
I am trying to automate some build scans against sonarqube 9.9 (current LTS version) and I have not been able to identify any way to recompute an application using the web based API.

I am creating the application using “/api/applications/create” (this works as expected)
I am adding the projects using “/api/applications/add_project” (this works as expected)
I am adding each project to the application using “/api/applications/create_branch” (this works as expected)

When I open the application in sonarqube server it doesn’t list any of the findings until I open the application, press the edit application, then press the “recompute” button on the top right side of the screen. Once I press recompute the Application lists each of the included projects, along with the findings as expeted.

Is there a REST API that I can call that will recompute the application ?

Hi @mciccarone,
Yes there is an internal API api/applications/refresh. Internal means : “Use at your own risk; internal services are subject to change or removal without notice.”.