Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

The following API request should return all unanswered questions with a score of at least 30:

http://api.stackapps.com/1.1/questions/unanswered?sort=votes&min=30

However, the response consists of 250 items and hardly any of them have a score of more than 30. In fact, only two of them do. This is verified by removing the /unanswered qualifier and running the following request:

http://api.stackapps.com/1.1/questions?sort=votes&min=30

This route does indeed return the correct number of items (currently 26) and each of them has a score >= 30 as expected. Obviosuly if there are only 26 total questions that have a score >= 30 then there cannot possibly be more unanswered questions than that.

share|improve this question
    
I should also point out that /no-answers works correctly. This appears limited to /unanswered. –  Nathan Osman Sep 20 '11 at 6:28

1 Answer 1

up vote 0 down vote accepted

This has been fixed.

There was a bogus bit of SQL there applying a creation sort instead of a vote one.

share|improve this answer

You must log in to answer this question.

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