Questions tagged [answers]
Tools (scripts/apps/libraries) that help with answers, or issues with the API handling of answers
72 questions
3
votes
2
answers
491
views
What is the correct way to get the stackoverflow.com URL for an answer via the API?
A while ago I made a little "Recently answered on Stack Overflow" sidebar widget for my homepage. Currently this works by filtering answers out of the user feed however I thought I'd update it to make ...
3
votes
1
answer
2k
views
How to get Question/Answer body in the API response using filters?
I am specifically looking to get the question/answer body back. Is it possible?
I am looking through the API documentation and I'm confused about how to make a call with filters.
Sample call I'm ...
1
vote
1
answer
135
views
How do I get the body of an answer, as well as the author? [duplicate]
I am using this call to get the body of an answer :
http://api.stackexchange.com/2.2/questions/5877753/answers?order=desc&sort=activity&site=stackoverflow
But this only gives the author of ...
3
votes
0
answers
145
views
Devlookup : A Search tool designed for developers
About
Devlookup is a search tool designed for developers.
It aggregates results from the most important development websites, using Bing as the backend engine.
The main goal is to improve resource ...
4
votes
0
answers
68
views
API returns delete vote count for questions, but not for answers
The questions method of the API returns the number of delete votes among other kinds of votes: sample query.
But the answers method does not have a delete_vote_count field available in the filter:
...
2
votes
0
answers
72
views
How can I show recently answered questions and answers in my blog site?
I would like to showcase some of my Stack Exchange answers in my blog site. I couldn't find a relevant post on how to implement this.
Also, from what I can see, in order to use the API a user needs ...
3
votes
0
answers
54
views
/answers API request returns no tags if body_markdown is included [duplicate]
This API request to /answers has the filter set to return the tags field for the corresponding question. It works fine:
api.stackexchange.com/docs/answers#filter=!9YdnSPElz
But, when the filter is ...
2
votes
2
answers
141
views
Total Number Of Answers
I need to find the total number of answers submitted by a user on stackoverflow. I tried the following:
I got my json from the following:
https://api.stackexchange.com/users/2440312/answers?site=...
2
votes
1
answer
79
views
`last_editor` is missing but `last_edit_date` is present?
Some posts (questions or answers) have a last_edit_date but no last_editor. Does this always mean that the post was last edited by the post owner?
Example: stackapps.com/a/3891/
PS: This issue came ...
2
votes
0
answers
76
views
Unhide Downvoted Answers
About
This simple userscript allows you to hover over an answer that has been greyed-out because of its low score to remove the styling. After you move away from the post, it will return to its ...
5
votes
2
answers
184
views
The /search route is ignoring the answers parameter.
The answers parameter was recently added to most of the requests that return a list of questions. See: Don’t include answers in question lists by default
It looks like the /search request got left ...
4
votes
0
answers
71
views
Please add a "self answer" flag to the answer results/object
Is there an easy way to tell if an answer is from the question poster?
I'm working on Blaze, and I'm grabbing answers from the /answers method. I'd like to indicate if the answer is from the question ...
1
vote
1
answer
661
views
How can I use the Stack Exchange API to get the total score on answers to questions with a specific tag?
I want to use the API to get the sum of all scores of my answers to questions having a specific tag.
I started using top-user-answers-in-tags method, but it only returns the top 30, whereas I want ...
2
votes
1
answer
566
views
Get accepted answers from Stack Overflow using Stack Overflow API 2.1
I want to fetch only my accepted answers from Stack Overflow using the API 2.1 and currently I've following code
$data = file_get_contents("http://api.stackexchange.com/2.1/users/741747/answers?page=...
1
vote
1
answer
59
views
Answer up/down vote count not being returned in filter
As the picture shows, the up_vote_count and down_vote_count answer properties are selected but not returned. What gives?
12
votes
0
answers
387
views
No Answering: prevent answering questions
Do you answer too many questions on stack sites? Does answering questions put you into a cycle of debating with people you'd rather not be spending time on? Then this app is for you.
It does one ...
6
votes
1
answer
255
views
Why these questions do not have a title?
Hitting the following /questions route:
http://api.stackoverflow.com/1.0/questions/74?pagesize=1&page=1
the endpoint returns this JSON data:
{
"total": 1,
"page": 1,
"pagesize": 1,
"...
4
votes
2
answers
111
views
/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,...
2
votes
3
answers
160
views
Ideas for dealing with this pagination problem?
Okay, here is the problem:
Certain questions contain more than one page's worth of answers. Given a sort method and an answer id, how can we figure out which page the answer is on?
Any suggestions ...
2
votes
1
answer
102
views
Problem getting a users answers within a date range
This issue is similar to Problem getting a users questions within a date range. Only this time I'm calling a different api and getting unexpected results.
I'm calling
http://api.stackoverflow.com/0.8/...
2
votes
1
answer
90
views
Answers parameter not functional
For example the following:
http://api.stackoverflow.com/0.8/questions?answers=true
doesn't return answers.
0
votes
1
answer
144
views
How to sort answers to question?
If I retrieve a question like so:
http://api.stackoverflow.com/0.8/questions/1429951&sort=votes
I expect the answers to be sorted by votes, but they're not.
How can I do this?