3 ms·
Wouldn't you be better off exposing internal IDs? As it currently stands your keys and hence URIs are immutable, which could be a problem if somebody wanted to
by olegp 16y ago
Wouldn't you be better off exposing internal IDs? As it currently stands your keys and hence URIs are immutable, which could be a problem if somebody wanted to rename things after creating them.
edit: like the way you've emulated Facebook's Graph API wrt metadata - why not go all the way and drop XML support?
- matclayton 16y agoPotentially, we debated using internal id's. The issue then becomes we dont have a globally unique id currently, so would need to code/make one. We also fix the url's in our system when they are first set and they become immutable. XML, easy enough for us to do, so why not support it :) we just run it through a different serializer before outputting it. Seemed like a minor addition to keep the XML users happy...
- olegp 16y agoJust because it's easy, doesn't mean you should include it ;) For one thing it makes the docs longer. Will be interesting to see how many people use XML.