Guidance for using Java to access the new Web API v2

Hi @daniel,

Thanks for your message.

You can use sonar-ws to access most V1 endpoints. However, this library is not maintained anymore and some recent features provided by the V1 are not available in sonar-ws.

As described in the blog post, endpoints will be gradually migrated to V2. From an OpenAPI schema, you can generate a client (for instance using openapi-generator).

Hope this helps,

Aurélien