API version endpoint?

In a recent Sonarcloud update, the issues API changed a bit:

{"errors":[{"msg":"Value of parameter 'types' (SECURITY_HOTSPOT) must be one of: [CODE_SMELL, BUG, VULNERABILITY]"}]}

I know how to work around this, but I’d like to know if there’s an endpoint where I can ask about API version, in a way that will work both on self-hosted instances and on Sonarqube.

GET api/server/version doesn’t work in Sonarcloud, is there an equivalent call?

Hi @gjedeer, could you explain a bit more why you need the API version to do the work around?