/** * * This is part of the internal API. * This is a GET request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/components/app">Further information about this action online (including a response example)</a> * @since 4.4 */ public String app(AppRequest request) { return call( new GetRequest(path("app")) .setParam("branch", request.getBranch()) .setParam("component", request.getComponent()) .setParam("componentId", request.getComponentId()) .setParam("pullRequest", request.getPullRequest()) .setMediaType(MediaTypes.JSON) ).content(); }
/** * * This is part of the internal API. * This is a GET request. * @see <a href="https://next.sonarqube.com/sonarqube/web_api/api/components/app">Further information about this action online (including a response example)</a> * @since 4.4 */ public String app(AppRequest request) { return call( new GetRequest(path("app")) .setParam("branch", request.getBranch()) .setParam("component", request.getComponent()) .setParam("componentId", request.getComponentId()) .setParam("pullRequest", request.getPullRequest()) .setMediaType(MediaTypes.JSON) ).content(); }