public String measure(MeasureRequest request) {
    return call(
      new GetRequest(path("measure"))
        .setParam("branch", request.getBranch())
        .setParam("metric", request.getMetric())
        .setParam("project", request.getProject())
        .setMediaType(MediaTypes.JSON)
      ).content();
  }
public String measure ( MeasureRequest request ) { return call ( new GetRequest ( path ( "measure" ) ) . setParam ( "branch" , request . getBranch ( ) ) . setParam ( "metric" , request . getMetric ( ) ) . setParam ( "project" , request . getProject ( ) ) . 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/project_badges/measure">Further information about this action online (including a response example)</a>
@since 7.1