Skip to main content
1 of 3
Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60

/users/{id}/answers - broken

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

Sky Sanders
  • 12.1k
  • 3
  • 32
  • 60