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.

Have not checked other routes, as I am busy with other things, but a failing test pointed this out...

GOOD: http://api.stackoverflow.com/1.0/users/242897/answers?min=4&sort=votes

{
  "total": 37,
  "page": 1,
  "pagesize": 30,
  "answers": [
    {
      "answer_id": 2846656,
      "accepted": false,
      "answer_comments_url": "/answers/2846656/comments",
      "question_id": 2349378,
      "owner": {
        "user_id": 242897,
        "user_type": "registered",
        "display_name": "code poet",
        "reputation": 10692,

BAD:?? http://api.stackoverflow.com/1.0/users/242897/answers?min=5&sort=votes

{
  "total": 25,
  "page": 1,
  "pagesize": 30,
  "answers": []
}

BAD:?? http://api.stackoverflow.com/1.0/users/242897/answers?min=6&sort=votes

{
  "total": 17,
  "page": 1,
  "pagesize": 30,
  "answers": []
}

http://stackoverflow.com/users/242897

share|improve this question
1  
confirmed –  systempuntoout Aug 7 '10 at 12:53
add comment

2 Answers 2

up vote 0 down vote accepted

This has been fixed.

share|improve this answer
    
I wish you could provide us with some info about what was wrong. We aren't the casual facebook users who have no clue why their friends list could be broken for a while. We are genuinely interested in this API. –  jjnguy Aug 8 '10 at 5:53
1  
@jjnguy - Even though the API has been frozen, we're continuing to improve performance. One of the recent changes had an off by one error that, ironically, didn't affect the lots-o-date users common in our test cases. –  Kevin Montrose Aug 8 '10 at 6:55
    
I know where you can buy some unit tests, cheap. ;-) –  Sky Sanders Aug 8 '10 at 14:18
    
thanks. –  jjnguy Aug 8 '10 at 14:41
add comment

Confirming weirdness with the /users/{id}/answers route. For example, these two queries yield completely different results, although the second one only has a pagesize and page parameters:

I would have expected the first 10 results of the first query to be identical to the second query.

It seems the sorting is messed up in some way?

share|improve this answer
add comment

You must log in to answer this question.

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