public CreateEventResponse createEvent(CreateEventRequest request) {
    return call(
      new PostRequest(path("create_event"))
        .setParam("analysis", request.getAnalysis())
        .setParam("category", request.getCategory())
        .setParam("name", request.getName()),
      CreateEventResponse.parser());
  }
public CreateEventResponse createEvent ( CreateEventRequest request ) { return call ( new PostRequest ( path ( "create_event" ) ) . setParam ( "analysis" , request . getAnalysis ( ) ) . setParam ( "category" , request . getCategory ( ) ) . setParam ( "name" , request . getName ( ) ) , CreateEventResponse . parser ( ) ) ; }
This is part of the internal API.
This is a POST request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/project_analyses/create_event">Further information about this action online (including a response example)</a>
@since 6.3