This is just a feature request/suggestion: exposed named queries in REST endpoints, for a given namespace. The parameters in the querystring (to make it simpler) could be mapped to some of the variables in the query.
This would help A LOT in the integration with libraries like backbone.js. And yes, of course there is still the issue with security. It is just an idea. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is just a feature request/suggestion: exposed named queries in REST
endpoints, for a given namespace. The parameters in the querystring (to
make it simpler) could be mapped to some of the variables in the query.
This would help A LOT in the integration with libraries like backbone.js.
And yes, of course there is still the issue with security. It is just an
idea. :)
Greetings!
This is just a feature request/suggestion: exposed named queries in REST endpoints, for a given namespace. The parameters in the querystring (to make it simpler) could be mapped to some of the variables in the query.
This would help A LOT in the integration with libraries like backbone.js. And yes, of course there is still the issue with security. It is just an idea. :)
Bruno,
Thank you. I've created a ticket:
https://jira.blazegraph.com/browse/BLZG-1674. Can you update it with a
couple of scenarios / examples you'd like to see?
Thanks, --Brad
On Tue, Dec 8, 2015 at 1:52 PM, Bruno Dias brunodias77@users.sf.net wrote:
The ticket does not exist, Brad.
Use case 1
You want to do something like the Last.fm scrobbling. To create a scrobbling event, you use the following query:
Then, you perform a POST to http://www.example.com:9999/bigdata/namespace/kb/services/scrobbling, with the following parameters in the body of the request: user=mxc:u1, music=mxc:m100. As a result, it should/could return the new UUID.
There are more use cases in my head but I'm having a busy day to write the remaining ones. Tomorrow (if I remember to), I will add with new ones.
Bruno,
Strange. I updated the ticket with your example:
https://jira.blazegraph.com/browse/BLZG-1674.
Thanks, --Brad
On Wed, Dec 9, 2015 at 12:08 PM, Bruno Dias brunodias77@users.sf.net
wrote:
Bruno,
Try this URL: https://jira.blazegraph.com/browse/BLZG-1674
Thanks, --Brad
On Wed, Dec 9, 2015 at 5:55 PM, Brad Bebee beebs@users.sf.net wrote:
I have registered myself in your JIRA server and, now, I can see the ticket.