5
votes
The answer object returns an empty array for tags
This is a bug and seems (based on a series of A/B tests) to be linked with the body_markdown property.
That is, if your filter returns the tags array, it works:
"items": [ {
"tags": [ "batch-...
- 12.7k
4
votes
Activity Indicator - see if you participated in a Q&A at a glance
status-planned
Just a simple recommendation (I do not particularly like the abbreviations):
could there be a table on hover, e.g:
* Like the Roomba Forecaster userscript.
The table can contain long ...
- 403
4
votes
Accepted
Get total answers count for a specified: Tag, Userid and Date-range?
Your stated problem is considerably easier than the question you linked.
You can use the /users/{ids}/answers route to get what you want -- with a little work.
The trick is to use a filter that ...
- 12.7k
4
votes
Accepted
How to include answers when fetching questions?
The various /questions routes do allow you to simultaneously retrieve answers, if you set the right filter.
A good starting filter for getting questions with answers is: !gB7hjL3lhJ*Cnfe63rh6pAm74J(...
- 12.7k
4
votes
Getting the top answerers/users for a tag in a custom time range?
This is very costly to do in the API and currently impossible for many combinations of tag and date (because it would require more than the 10,000 allowed API calls per day).
I'll write more about ...
- 12.7k
4
votes
Quick navigation between answers
status-completed
person who answered now shown
the answer score shown
owner reps shown
box floats correctly
Awesome script. Here is a eventual feature for it that could be useful.
Instead of listing ...
- 201
3
votes
Accepted
What is the difference between accepted and is_accepted?
If the answer is the accepted answer, is_accepted is true and anyone can see it.
accepted is set to true only if the currently authenticated user is the one who has accepted the answer.
For instance,...
- 12.7k
3
votes
Accepted
Total Number Of Answers
It does return all the answers, but they're paged - by default you'll only get 30 at a time. You'll likely want to increase pagesize to 100, and then add the additional code necessary to make ...
- 4,696
3
votes
Accepted
Top answers for a tag is returning user details?
Notice that the route used has /top-answerers/. The doc page states:
Returns the top 30 answerers active in a single tag, of either all-time or the last 30 days.
(Emphasis added)
So, ...
- 12.7k
2
votes
How to monitor (for new) accepted answers by certain tags?
The API does not provide a good way for this.
Worst case, your app will have to keep a table of every question in the tags of interest. Poll that table and see if the accept status has changed from ...
- 12.7k
2
votes
Accepted
Search for answers/comments under questions with certain tags using the Stack Overflow API?
First, you'll want to go upvote the feature request to add tag search for answers, etc. (If/when you have the upvote privilege)
In the meantime, for answers by tag you can use the /search/excerpts ...
- 12.7k
2
votes
Quick navigation between answers
New feature: if there's a pager displayed (for the reason of 30+ answers), the Quick Nav box gets a mini-pager too:
This feature is available as of Quick Nav v2.4
- 396
2
votes
Quick navigation between answers
bug status-completed
When searching questions with a specific tag, the quick navigation button will appear. Here is a screenshot showing the bug.
- 201
2
votes
Quick navigation between answers
feature-request status-completed (except deletion)
The realtime updates are enabled by default .You can opt out of them by clicking "settings" and unchecking "real-time updates".
When an answer gets ...
- 201
2
votes
Quick navigation between answers
bug status-completed
in case if owner is deleted, using "Answer by deleted user"
in case if CW, using "Community Wiki answer"
When the user is a community wiki there is no reputation shown. This ...
- 201
2
votes
Accepted
`last_editor` is missing but `last_edit_date` is present?
last_editor will be missing (empty) from the results when the last editor is a deleted user. This deleted user does not have to be the owner, or original poster, of a given question or answer.
For ...
- 12.7k
2
votes
Accepted
How to search answers like is:answer
I forget when, but sometime in the last couple of years, the /search/excerpts route started allowing is:answer in the q parameter.
For example:
/2.2/search/...
- 12.7k
2
votes
Total Number Of Answers
If you just want the total, don't bother paging through the entire full result set.
Use the total property of the Common Wrapper Object. This will save lots of time and bandwidth and quota and doesn'...
- 12.7k
2
votes
Please add the `tagged` parameter to /answers, /users, etc
Hear! Hear!
I want to study what makes a good answer on SO.
I started by querying complete web pages (questions with all comments, answers, and their comments) for questions with some minimum score (...
- 171
2
votes
Accepted
How to get deleted answers?
This question is nearly a duplicate of: Provide a way to retrieve questions and answers that have been deleted -- which has been "status planned" for 6+ years.
In general, it is very hard to search ...
- 12.7k
2
votes
Accepted
Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?
First can I say, you might want to use your own icon. Font Awesome is a very useful and easy to use icon toolkit that lets you add icons with simple CSS classes. You could use http://fontawesome.io/...
- 4,325
2
votes
Getting the ID of the question-asker when fetching new answers from the API
No; the answer object doesn't contain any information about the question except the question ID.
I'm not sure how you obtain the answer IDs, but you could investigate if it's possible to look for ...
- 6,052
2
votes
Sort Best First
Test cases:
The good: Much of the time, vote-weighing order successfully puts first a better-quality answer than the most popular one as measured by naïve score sort.
Under ‘Passing a string literal ...
- 231
2
votes
Activity Indicator - see if you participated in a Q&A at a glance
feature-request status-deferred
Please add a way to search through these posts1.
Possible use cases:
Checking your recent comments (on either questions or answers) to see whether they are still up to ...
2
votes
Accepted
How do I search answer bodies for Markdown links?
The search methods work on the HTML version of the post, so searching for Markdown won't work. You can either use this parameter
url - a url which must be contained in a post, may include a wildcard.
...
- 6,052
1
vote
Accepted
Obtain the list of questions associated to answer_ids without losing the information of which question comes from which answer_id
On the other hand, making one single /answers/{ids}/questions request for all the ids (well, I should actually make a request for chunks of 100 entries; then maybe I have to browse the few resulting ...
- 6,052
1
vote
How can I fetch the answers posted in last week based on tags of the question?
I'd still use the /questions method, and change the filter to include answer details. E.g. this query lists all Stack Apps answers in the support tag, newest first. All I had to do was to edit the ...
- 6,052
1
vote
Why doesn't the API return a 'locked date' for this locked answer?
Does it work on answers at all?
Here's a newer locked answer. Yet, it doesn't have a locked_date either.
It's not a filter issue.
Nor is it fixed in version 2.3 (yet).
Also, additional bug ...
- 12.7k
1
vote
Accepted
Get everything touched by a user?
Since some users might exhaust your quota, for such a set of data, this might be a better job for SEDE.
In your API approach, not sure why you are getting question id's from answer id's. You can ...
- 12.7k
1
vote
Default Stack Exchange behavior interferes with my "Mark answers as favorites" code?
Don't use the default button. That's bad UI anyway.
Add your own favorite button for each answer.
And, since you will be using your own classes, like:
<a class="myStarOff" href="#" data-ansID="...
- 12.7k
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
answers × 66support × 26
api × 21
questions × 18
bug × 13
api-v2.2 × 12
tags × 11
app × 10
script × 10
feature-request × 7
status-completed × 6
discussion × 6
users × 5
search × 3
comments × 3
status-bydesign × 3
posts × 3
api-v2 × 2
javascript × 2
voting × 2
scripts × 2
filter × 2
sort × 2
locked-posts × 2
duplicates × 2