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?

2
  • 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
    Commented Feb 29, 2012 at 1:20
  • You should submit this as an answer @agent86! Is it documented somewhere? Commented Feb 29, 2012 at 18:54

1 Answer 1

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.

1
  • Ah yes now I such URLs when I hover over tag edit links. Never noticed them before. Thanks! Commented Feb 29, 2012 at 19:21

You must log in to answer this question.

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