Imagine a nice RESTful interface for working with Tags. The URL:
/tags/will return a list of all the tags.
/tags/foo/will return a list of all the items that are associated with the tag "foo".
Or should it?
What happens when you may have tags in different languages? Is something like this:
/tags/日本語のタグ/possible or even desirable? (These characters were copied from a spam email, I have no idea what it says.)
Should the tag collection be accessed by id, rather than name? Eg:
/tags/1/This is uglier, but more usable across languages and character sets.
Hmmm. What do I do....?