Timeline for Stack Exchange API is returning boolean(false) For 'is_answered' On Question With Accepted Answer
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jul 17, 2013 at 23:59 | history | suggested | Brock Adams | CC BY-SA 3.0 |
Clarify, per comments
|
Jul 17, 2013 at 23:28 | review | Suggested edits | |||
S Jul 17, 2013 at 23:59 | |||||
Jul 17, 2013 at 23:21 | comment | added | Kevin Montrose |
@BrockAdams with a score > 0 ; is_answered should be set if either there is an accepted answer, or their is a > 0 score answer. hasaccepted is just checking accepted_answer_id .
|
|
Jul 17, 2013 at 22:06 | comment | added | Brock Adams |
So, to be clear, to mimic the useful hasaccepted search, we must check the API results to see if the accepted_answer_id property is present.?. The is_answered property is now = ({has accepted ans} OR {has upvoted ans}) .?. Also is it upvoted answer or answer with a positive score?
|
|
Jul 17, 2013 at 17:35 | history | answered | Kevin Montrose | CC BY-SA 3.0 |