Brendan,
the docs for the API are at
http://docs.neo4j.org/chunked/snapshot/rest-api.html, let us know if
this is good info for you.

Regarding the filtering, Jim, do you have any thoughts on this? It
seems that this looks a lot like the security rules that are in the
server, see 
http://docs.neo4j.org/chunked/snapshot/security-server.html#_server_authorization_rules
. In there, you can intercept access to the REST API faine-grained. If
you got access to the database instance, you could even look up nodes
and act according to the content, as you mentioned.

Would having access to a database instance from within a security rule
be a solution to your usecase?

Otherwise, yes, writing your own REST API is of course possible with
the unmanaged extensions. Let me know if I can help you with that.

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Sun, Oct 23, 2011 at 2:19 AM, Brendan cheng <ccp...@hotmail.com> wrote:
> I'm trying to write my own restful api so that for each request a check of 
> password with usernode is needed and response will depends who the user is 
> and which method the user request.  Because your restful api only return node 
> relationship and path and their iterable, certain info inside the property 
> will not be able to be hidden for user, it seems there is only the unmanaged 
> way can achieve it. right? so I will have managed something similar to your 
> api.  Your restful api is quite complicated to me to follow. any doc of it?
>
> brendan
>
> -----Original Message-----
>
> From: Peter Neubauer
> Sent: 23 Oct 2011 01:09:45 GMT
> To: Neo4j user discussions
> Subject: Re: [Neo4j] Iterable handling in unmanaged server extension
>
> Brendan,
> are these iterables of Nodes, Relationships or Properties? If so, you
> should not need to do unmanaged extension but just write your server
> plugin, http://docs.neo4j.org/chunked/snapshot/server-plugins.html
>
> Otherwise, what kind of return are you looking for (maybe pseudo code)?
>
> Cheers,
>
> /peter neubauer
>
> GTalk:� � � neubauer.peter
> Skype� � �� peter.neubauer
> Phone� � �� +46 704 106975
> LinkedIn�� http://www.linkedin.com/in/neubauer
> Twitter� � � http://twitter.com/peterneubauer
>
> http://www.neo4j.org� � � � � � ��- NOSQL for the Enterprise.
> http://startupbootcamp.org/ � �- �resund - Innovation happens HERE.
>
>
>
> On Sat, Oct 22, 2011 at 11:19 AM, Brendan cheng <ccp...@hotmail.com> wrote:
>>
>> Hi,
>> I'm trying to produce Iterable results from unmanaged server extension and 
>> not sure how to achieve it.In your code, this should already be done so. 
>> �Could you show me where the code is which I tried to find but failed?
>> Thanks in advance,
>> Brendan
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to