[Neo] Relationship representation in REST
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
> > when doing a traversal.
> >>You say have the "option" to have the full details? I'd rather not have
> >>configurable per server... maybe per request. How would that be
> >>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
> >>Do you mean when doing a traversal (as in POST
> >>or when simply getting relationships for a node? When you use traversers
> >>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).
> Brian Turner
> 416 813 7810
> Neo mailing list
> User at lists.neo4j.org
Mattias Persson, [mattias at neotechnology.com]
Hacker, Neo Technology
More information about the User