1

It seems that all tags have an internal ID, for instance here on stackapps, the tag has ID 2442 which you can only see if you edit the api-v2 tag.

As far as I can see none of the APIs expose the ID, not 1.1 and not 2.0.

But this makes it very hard to implement some useful things, like detecting tag renames since the only ways to get at tags is to look at all of them or refer to them by name.

It seems a tool that watched your favourite tags and let you know when any renamed would be fun/interesting/useful. Is there any reason why the tag ID numbers are not exposed?

1 Answer 1

2

It's because tag ids aren't stable, so you can't reliably use them in the API. The same reason sites don't have ids.

You'll note that most everywhere in the site's when we refer to a tag, we refer to it by name. Only when editing a few things do we expose the tag id, and those links can safely break.

You must log in to answer this question.

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