Filter users when calling REST API
I am trying to find a specific user by email like this:
curl -x '' -u TOKEN 'http://SERVER_IPemail@example.com'
But i get all users.
I can see this kind https://capread.com of filtering works for issues.json.
Can someone confirm it is not really possible to filter users when using the REST API?
RE: Filter users when calling REST API - Added by Mayama Takeshi about 1 month ago
According to the docs, you should use:
curl -x '' -u TOKEN 'http://SERVER_IPfirstname.lastname@example.org'
name: filter users on their login, firstname, lastname and mail ; if the pattern contains a space, it will also return users whose firstname match the first word or lastname match the second word.