2

I've been playing with a little webapp for tags of a certain kind for travel.SE (current pre-alpha version gist on github).

One thing I would like to do is add links for the various tag-related functions on the actual SE site for each tag.

But I realized that the while most tag related URLs use the tag's name, the edit URL uses some internal tag ID. For example for the here on StackApps we (currently) have this URL:

https://stackapps.com/edit-tag-wiki/2705

Now the thing is I can't find anywhere in the API that will provide either this ID or this URL. Have I missed something or is this a feature I should request for the future?

  • If you visit stackapps.com/edit-tag-wiki/codeigniter - you're redirected to that URL. If you don't mind the redirect, you might just be able to get around it that way. – agent86 Feb 29 '12 at 1:20
  • You should submit this as an answer @agent86! Is it documented somewhere? – hippietrail Feb 29 '12 at 18:54
3

If you visit:

http://stackapps.com/edit-tag-wiki/codeigniter 

... you're redirected to that URL. If you don't mind the redirect, you might just be able to get around it that way.

As far as I know, there's no documentation about when you can specify a name versus when you must specify an ID number, and I know of no API route that returns the ID numbers. The routes that return "tag" objects conform to this object specification.

  • Ah yes now I such URLs when I hover over tag edit links. Never noticed them before. Thanks! – hippietrail Feb 29 '12 at 19:21

You must log in to answer this question.

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