Hot answers tagged

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-...
Brock Adams's user avatar
  • 12.9k
5 votes
Accepted

Should we "Burninate" the [stack-exchange] tag?

Based on a reasonable response for Stack Apps, this has now been done. Merged stack-exchange into support (which many of the questions already had) and deleted support from those posts where it didn'...
Brock Adams's user avatar
  • 12.9k
5 votes

Should we "Burninate" the [stack-exchange] tag?

Yes. I would agree that the tag serves no purpose. With only 24 questions, let us lose it.
Chenmunka's user avatar
  • 262
3 votes
Accepted

When using the Advanced Search API endpoint, how soon after the edit grace period is question data updated?

tl;dr: I think you can reduce the delay to 8-10 minutes. Grace period edits are available for 5 minutes after post creation and search results can be stale for a few minutes afterwards, especially ...
Adam Lear's user avatar
  • 358
3 votes
Accepted

Does the [ruby-on-rails] tag add relevant context on top of [ruby]

As of the time of this writing, there are only 5 questions tagged with ruby-on-rails but not ruby. Those are: Post Needs Framework-specific tag? geek score calculator - SO + Github on Rail No. Built ...
Oleg Valter is with Ukraine's user avatar
3 votes
Accepted

Even though status-review has been made a moderator-only tag, it remains blue on this post

Yes, an edit will fix that. This is because posts are stored as HTML. At the time the answer was submitted the build wasn't live. Therefor the tag wasn't a mod-only tag yet. It got no special handling....
rene's user avatar
  • 2,482
2 votes
Accepted

How to get the number/count/total of tags/badges/something from the API?

The question was not originally clear if you wanted tags or badges, but the answer is the same... To just get totals, use the total filter. For example, for badges: /badges?site=stackoverflow&...
Brock Adams's user avatar
  • 12.9k
2 votes
Accepted

What API do I call to measure popularity growth for specific tags over time?

Do you mean something like this plot? : (Generated by SEDE: /query/201360?ShowScore=0&Tag1=excel&Tag2=python&Tag3=NA&Tag4=NA#graph) Use the data explorer (SEDE) for that. To do this ...
Brock Adams's user avatar
  • 12.9k
2 votes
Accepted

Can I get the user's top percentile, for tags, using the API?

No, the API cannot do this. Refer to the API docs and you'll note that there is no method that can be used to compute a user's tag percentile‡. Also, it's not clear exactly how it's ...
Brock Adams's user avatar
  • 12.9k
2 votes
Accepted

How to get "usage guidance" for a tag from the Stack Exchange API?

You need the /tags/{tags}/wikis method for this. Here is a link to the documentation page, including the necessary parameters for the JavaScript tag. By default, the body of the tag wiki isn't ...
Glorfindel's user avatar
  • 6,762
2 votes

Maximum tags for a question on any SE site

At the moment the number of tags allowed on a question is 5. Both client side and server side this limit is now1 enforced at the time of posting. There is no direct limitation to allow 6 or even 7 ...
rene's user avatar
  • 2,482
2 votes

How to update tags without modifying question body?

You can't just edit the tags via the API, you have to set the body as well. For that, you need the Markdown (the body_markdown field in the filter) instead of the HTML:
Glorfindel's user avatar
  • 6,762
2 votes

Can "trends" be queried with the Stack Exchange API?

For trends like this, the Stack Exchange Data Explorer is a better option (if you know SQL; if you don't, check out the awesome tutorial). About the only downside is that it is refreshed once per week,...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

Difference in results between parameters Tagged or Q

This request should give the same results Not really; you should leave out the ands in the q parameter. Your second request is equivalent to this search on the site: https://english.stackexchange.com/...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

Tagged parameter not working as described in documentation

You're right; because the API doesn't have much priority for the developers, here is a workaround: use the q parameter and set it to [java] or [javascript] or [python]. https://api.stackexchange.com/...
Glorfindel's user avatar
  • 6,762
1 vote

Download data for specific tag

The /questions method supports this; you can limit your search by tag. Be sure to add the right output fields via a filter; in the example below, I've added body, answers and answers.body which are ...
Glorfindel's user avatar
  • 6,762
1 vote

How to get statistic data for specific tags which belong to a specific team?

You can use the /questions method, which allows filtering by tag: To constrain questions returned to those with a set of tags, use the tagged parameter with a semi-colon delimited list of tags. This ...
Glorfindel's user avatar
  • 6,762
1 vote

Multiple tags come back unordered

Can I get the items in the order I asked for? No, you can't. And I'm pretty sure that is not a bug. In general, the implementation philosophy of the code and SQL behind the scenes that makes the ...
rene's user avatar
  • 2,482
1 vote

Should status-reproduced be made a mod-only tag?

No, not at this moment. We go by them at a case by case basis. The moderators will raise the issue with the CM team when we feel having that status tag is needed. We don't need bug reports for every ...
rene's user avatar
  • 2,482
1 vote

Should status-review be made a mod tag?

It seems that status-review is now a red moderator-only tag, although this question did keep my edit even though I'm not a moderator. status-reproduced remains a regular tag.
Anonymous's user avatar
  • 479
1 vote
Accepted

How to get all tags' descriptions from the Stack Exchange API directly?

Yes, you're already doing the right thing by batching the requests to minimize the number of API calls (just group them in groups of 30 or so) but you're still limited to 300 requests per day, as per ...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

Is there any way to get questions by tag with excerpt?

The /search/excerpts method supports searching by tag and returns the excerpts you're looking for:
Glorfindel's user avatar
  • 6,762
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 ...
Glorfindel's user avatar
  • 6,762
1 vote

Stack Exchange API - Get Watched Tags for a User

No, this information is not exposed via the API (and it's not available in SEDE either). At the moment, your best bet is probably to scrape the tag notifications page, though this only works for your ...
Glorfindel's user avatar
  • 6,762
1 vote
Accepted

How to Create a Multi-tag URI Request to /questions

From the /questions doc: ...use the tagged parameter with a semi-colon delimited list of tags. This is an and contraint(sic), passing tagged=c;java will return only those questions with both tags......
Brock Adams's user avatar
  • 12.9k
1 vote

/tags search multiple words ("or") inname

There is no need for a special API route, "OR" logic is easy to implement. Merely search for each term separately and then merge the results. For example, if I wanted tags that had either javascript ...
Brock Adams's user avatar
  • 12.9k
1 vote

Get a great many counts of questions, by select tags for a date range?

You can do this on the API with far less than 120K requests. Just use a different approach. Instead of getting a total for every single month, offload that work to your app. Use a /search query to ...
Brock Adams's user avatar
  • 12.9k
1 vote

List recent tag wiki edits

While this isn't possible with the API, it is possible with SEDE, if you allow for up to 7 days of lag. Here is the SEDE Query that lists Tag wiki and excerpts in descending edit date order: select ...
rene's user avatar
  • 2,482
1 vote

How do I get the no. of upvotes a person has received for a particular tag?

It's not easy to get this via the API, a SEDE query is the better tool for the job here. If you need to do it via the API: Start with the excerpt search; it has parameters user and tagged which you ...
Glorfindel's user avatar
  • 6,762

Only top scored, non community-wiki answers of a minimum length are eligible