pythonsonarqubesonarqube-api

How to access a specific version of a component?


I would like to get the measures of different versions of a component in SonarQube.

How can I access an older version than the one of the latest analysis with Python?


Solution

  • Starting Sonarqube 6.3, you'll be able to use api/measures/search_history.

    Before that, you need to use api/timemachine/index.