To get the count of a query without returning results, simply specify pagesize=0
.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
"pagesize": 0,
"users": []
}
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It only takes a minute to sign up.
Sign up to join this communityTo get the count of a query without returning results, simply specify pagesize=0
.
http://api.stackoverflow.com/0.9/users?filter=mike&sort=name&pagesize=0
{
"total": 1161,
"page": 1,
"pagesize": 0,
"users": []
}
pagesize=0
. Deviations from this are bugs.