I see the EAI:ACL documentation mentions that an owner flag can be set. can this be used for getting saved searches based on the owner?
so far with curl I have not gotten the results as excepted (the owner is ignored)
If someone knows can you please give me an example?
here is my curl:
curl-k -u john:Password http://localhost:8089/servicesNS/-/app/saved/searches&eai:acl.owner=john
Solution is to use the search parameter in the HTTP request:
curl-k -u john:Password http://localhost:8089/servicesNS/-/app/saved/searches?search=eai:acl.owner%3Djohn
I honestly don't understand why the username endpoint is used. a '-' for any then using search parameter to narrow down to the owner of saved searches works.
Solution is to use the search parameter in the HTTP request:
curl-k -u john:Password http://localhost:8089/servicesNS/-/app/saved/searches?search=eai:acl.owner%3Djohn
I honestly don't understand why the username endpoint is used. a '-' for any then using search parameter to narrow down to the owner of saved searches works.
Try
curl-k -u john:Password http://localhost:8089/servicesNS/john/app/saved/searches
this returns saved search owned by nobody and the user. It does not seem to filter to the user alone