GET /users
Returns all users on a site.
This method returns a list of users.
The sorts accepted by this method operate on the follow fields of the user object:
reputation
creation_date
display_name
last_modified_date
reputation
is the default sort.
It is possible to create moderately complex queries using sort
, min
, max
, fromdate
, and todate
.
The inname
parameter lets consumers filter the results down to just those users with a certain substring in their display name. For example, inname=kevin
will return all users with both users named simply “Kevin” or those with Kevin as one of (or part of) their names; such as “Kevin Montrose”.
Parameter | Description | Optional | Default | Values |
---|---|---|---|---|
page |
Page number | True | ||
order |
True | desc | asc: Ascending desc: Descending | |
sort |
True | creation: Creation modified: Modified name: Name reputation: Reputation | ||
site |
False | stackoverflow | stackoverflow: Stackoverflow superuser: SuperUser |