Our project has now both community edition & enterprise version of sonarqubes, since we are looking to maintain the same build pipeline, I need some way to distinguish between the sonarqube via api calls, ie - api call the sonarhost, when it identifies this is enterprise use one set of build commands. for community edition use another set. But I was unable to find an api that is common for both.
Enterprise has this api api/editions/show_license which can be used, but this api doesn't exists for the community version. have anyone faced this scenario? How was this handled?