public String create(CreateRequest request) {
    return call(
      new PostRequest(path("create"))
        .setParam("description", request.getDescription())
        .setParam("key", request.getKey())
        .setParam("name", request.getName())
        .setParam("visibility", request.getVisibility())
        .setMediaType(MediaTypes.JSON)
      ).content();
  }
public String create ( CreateRequest request ) { return call ( new PostRequest ( path ( "create" ) ) . setParam ( "description" , request . getDescription ( ) ) . setParam ( "key" , request . getKey ( ) ) . setParam ( "name" , request . getName ( ) ) . setParam ( "visibility" , request . getVisibility ( ) ) . setMediaType ( MediaTypes . JSON ) ) . content ( ) ; }
This is part of the internal API.
This is a POST request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/applications/create">Further information about this action online (including a response example)</a>
@since 7.3