Filtering parties on JSON API

I’m trying to use the filter-party query parameter on the JSON API, but I keep getting served all parties. What am I doing wrong?

Here’s the URL I’m hitting:
http://localhost:8080/api/ledger/v2/parties?filter-party=foo

Also, is there any way to list all local parties?

Got the answer through another channel. I was on Splice version 0.5.5/Canton 3.4.9. The filter-party query was introduced in the next version, it works as expected on 0.5.8.

Filtering on isLocal is currently not possible.