Sorting get Aliases

Hi,

I am looking way to execute cat in the new Java client

GET _cat/aliases/bbb*/?format=json&s=is_write_index:desc

I found this way:

AliasesRequest request =  AliasesRequest.of(ar -> ar.name(pattern));		
		
		var response = client.cat().aliases(request);
		
		return response.valueBody();

How can I add the following:
s=is_write_index:desc

Hi @avnere

I believe I've seen this question on the forum and I don't think there was an answer.
Perhaps in the current version of the lib it is not possible to pass these additional parameters.
Have you tried using a more generic approach?

What do you mean generic approach?