-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
According to the API documentation (retrieve-users), to retrieve specific users you need to specify the params like this:
usernames=cjones&usernames=mwong
On my request I've done something like this:
request.addParam("usernames", "cjones");
request.addParam("usernames", "mwong");
As a response I'm getting information about only one user. I believe the problem is that the addParam method is adding fields to a TreeMap:
private SortedMap<String, Object> params = new TreeMap<String, Object>();
Since we can't have duplicate keys, we can't search for multiple users. I've also noticed that you can set a List as value on the addParam method. Something like this:
request.addParam("username", Arrays.asList("cjones", "mwong"));
But that's also not working, the raw response is:
{"stat":"OK","response":[]}
Metadata
Metadata
Assignees
Labels
No labels