public ListDefinitionsWsResponse listDefinitions(ListDefinitionsRequest request) {
    return call(
      new GetRequest(path("list_definitions"))
        .setParam("branch", request.getBranch())
        .setParam("component", request.getComponent())
        .setParam("pullRequest", request.getPullRequest()),
      ListDefinitionsWsResponse.parser());
  }
public ListDefinitionsWsResponse listDefinitions ( ListDefinitionsRequest request ) { return call ( new GetRequest ( path ( "list_definitions" ) ) . setParam ( "branch" , request . getBranch ( ) ) . setParam ( "component" , request . getComponent ( ) ) . setParam ( "pullRequest" , request . getPullRequest ( ) ) , ListDefinitionsWsResponse . parser ( ) ) ; }
This is part of the internal API.
This is a GET request.
@see <a href="https://next.sonarqube.com/sonarqube/web_api/api/settings/list_definitions">Further information about this action online (including a response example)</a>
@since 6.3