I have installed Openfire 4.1.5 and added the REST API plugin. When I trying to retrieve users and search users, using rest API calls, they are working fine as expected.
But Filtering users by propertyKey and propertyKey/propertyValue doesn’t work as expected.
I hope following API call will give all the user’s email fields values -
http://example.org:9090/plugins/restapi/v1/users?propertyKey=email
But this returns an empty object.
And as per the documentation following API call need to return all the emails which has sub-string “cha” , but it doesn’t.
http://example.org:9090/plugins/restapi/v1/users?propertyKey=email&propertyValue=cha