Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

It would be very helpful if the /tags API could provide at least a bare minimum of information about tag synonyms. Either:

  • Number of synonyms the tag has, if any.
  • Or a true/false flag for tags which have at least one synonym.

Sometimes you want to fetch stuff about tags including synonyms but since the two are somewhat separate, you may need to scan the complete sets of both tags and synonyms.

For instance if I use the filter/inname to get tags I'm interested in I would then see which have synonyms and then call the /tags/synonyms API for just those tags.

As it is I would have to call /tags/synonyms on the complete set of tags and check the from-tag/to_tag of each to find the ones I'm interested in, which is a lot less efficient.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The tag object now has a has_synonyms field which is true when there's at least 1 approved synonym for a tag.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .