Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Calling /users method with id parameter returns a list of users and not the user expected. http://api.stackoverflow.com/0.8/users?id=23234

Could be a documentation "bug" on help page:
http://api.stackoverflow.com/0.8/help/method?method=users

share|improve this question
up vote 1 down vote accepted

id has been removed from the documentation for this method.

share|improve this answer

I'm pretty sure that's not how you are supposed to call the users endpoint. Try this:

http://api.stackoverflow.com/0.8/users/23234

You can do this with a vectorized string like so:

http://api.stackoverflow.com/0.8/users/23234;2598;1

You aren't supposed to pass id in as a url parameter. It is actually part of the url.

Your call is being interpreted as:

http://api.stackoverflow.com/0.8/users

share|improve this answer
    
Nope, i would like to call this method api.stackoverflow.com/0.8/help/method?method=users with id valorized and it's not working – systempuntoout Jun 7 '10 at 22:48
    
@system, I'd have to guess that is a documentation bug. Otherwise, how is what you are looking at different from the one I pointed out? – jjnguy Jun 7 '10 at 22:51
1  
@systempuntoout: To do a vectorized list of users like this: /users/23234;241462. Though you're right, according to the documentation id=23234;241462 should work as well. – codeka Jun 7 '10 at 22:53
1  
i was writing about a documentation bug too :). – systempuntoout Jun 7 '10 at 22:54
    
@codeka@JJnguy yes, your suggestions are right, i knew that way. – systempuntoout Jun 7 '10 at 22:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .