The J4 REST API allows me to GET a full list of users, but I have not found any example of how to filter such a request, for example by searching by userID or email.
When I look at the code for the users API controller (/api/components/com_users/src/Controller/UsersController.php), I see a bunch of code for filtering.
I have experimented with parameters and body JSON to try to trigger filtering, but nothing seems to work--it always returns the full list. For example, I tried adding
{"filter":["search":"montgomery-scott"]}
to the body.
Can anyone provide a sample GET request that shows filtering syntax?
Thanks!