Skip to main content
1 of 2
systempuntoout
  • 8k
  • 4
  • 21
  • 27

Accepted answer on questions/id/answers method sorted by votes

Looking at this stackoverflow question:

http://stackoverflow.com/questions/3012488?tab=votes#tab-top

when sort is by votes, the accepted_answer is always on top regardless of answer's upvotes.

Calling questions/id/answers with sort=votes does not give the same result.
Here an example:

http://api.cooking.stackexchange.com/1.0/questions/567/answers?sort=votes&body=true

or, for a formatted view:

http://stackprinter.appspot.com/export?question=567&format=HTML&service=cooking.stackexchange&printer=false

Is it correct?

systempuntoout
  • 8k
  • 4
  • 21
  • 27