[Neo] restful neo comments
Taylor Cowan
taylor_cowan at yahoo.com
Wed Jan 20 15:20:07 CET 2010
Just some comments regarding rest and neo.
twitter at mdeiters' rest api is really nice.
/node/{id}
node/{id}/relations etc.
you might also have
/node/{id}/properties/{property} , for instance, in cases where the value was a large amount of text, you may just want that particular piece of data. Also, in communicating the node id back and forth, it probably should be a URL, not just the id.
In other words, in Rest word node[1] becomes http://host/node/1 . That's interesting because it's distinguishable from http://other/node/1.
I'm sure the ThoughtWorks Dr. will have it done this way, some kind of paging, similar to Atom, is necessary at /nodes, and finally maybe a gremlin'ish URL schema to create traverser with a URL.
Taylor
More information about the User
mailing list