Monitoring API deprecation
Monitoring deprecated Web API components is an important part of checking that your SonarQube instance is using deprecated endpoints.
Last updated
Was this helpful?
Monitoring deprecated Web API components is an important part of checking that your SonarQube instance is using deprecated endpoints.
If you use custom plugins based on the plugin API or consume SonarQube Server services through the Web API then you will have to manage the possible API deprecations. See also the Deprecation policy.
After an update, you can check if an authenticated client of your SonarQube Server instance uses deprecated Web API endpoints and parameters in order to anticipate their drop. To do so, browse the deprecation log as illustrated below.

To download the deprecation log from the UI (with the Administer System permission):
Go to Administration > System.
Select Download Logs > Deprecation Logs.

You can automate the retrieval of the deprecation log information by calling the Web API endpoint api/system/logs with deprecation as the value of the name parameter.
Check the Plugin API release notes for deprecation notes.
Last updated
Was this helpful?
Was this helpful?

