[Neo] Relationship representation in REST

Mattias Persson mattias at neotechnology.com
Mon Apr 26 10:13:05 CEST 2010

Is there any kind of consensus here?

Always send back full node representation? Not send back full node
representation? Configurable per request somehow?

2010/4/21 Brian Turner <brian at wodaklab.org>

> > I would have to agree. I've been trying out the REST interface, and it
> > would
> > be nice to have the option to  have the full details of each node
> returned
> > when doing a traversal.
> >
> >>You say have the "option" to have the full details? I'd rather not have
> it
> >>configurable per server... maybe per request. How would that be
> configurable
> >>in a good way (assuming that's what you mean)?
> Yes, I mean when doing the post and option should exist for level of detail
> returned.
> >>Do you mean when doing a traversal (as in POST
> .../node/123/traverse/node)
> >>or when simply getting relationships for a node? When you use traversers
> you
> >>can specify what to get back and if you get nodes back you get that data.
> I was thinking of traversal, but it shouldn't matter. Anywhere a node is
> returned as only an identifier should really allow for the option to have
> its details included (perhaps even a list of desired attributes).
> B.
> ______________________________________________________
> Brian Turner
> http://wodaklab.org
> 416 813 7810
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

Mattias Persson, [mattias at neotechnology.com]
Hacker, Neo Technology

More information about the User mailing list