We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assuming we have
And relations:
We are creating tree like this one:
starwars - hero - Luke - Yoda - planet - Tatooine - Dagobath
And if you select starwars.hero.Luke then you get sub-tree:
starwars.hero.Luke
- fights - Darth Wader - lives on - Tatooine
/starwars -- list all types of nodes
[ { "name":"hero", "returns":{"kind":"nested","endpoint":"/nodes_of_type/hero"} }, { "name":"planet", "returns":{"kind":"nested","endpoint":"/nodes_of_type/planet"} } ]
/starwars/nodes_of_type/ -- list all nodes of type
[ { "name":"Luke", "returns":{"kind":"nested","endpoint":"/links_from_node/1"} }, { "name":"Yoda", "returns":{"kind":"nested","endpoint":"/links_from_node/2"} } ]
/starwars/links_from_node/ -- list all relations linking node with with something
[ { "name":"fights", "returns":{"kind":"nested","endpoint":"/linked_from_node/1/figthts" } }, { "name":"lives on", "returns":{"kind":"nested","endpoint":"/linked_from_node/2/lives on"} } ]
/starwars/linked_from_node// -- list all nodes connected to by relation
[ { "name":"Darth Wader", "returns":{"kind":"nested","endpoint":"/links_from_node/3" } }]
Eventually, we get to something like:
{ "name":"get properties", "returns": { "kind":"primitive", "type": {"name":"seq","params":[{"name":"tuple","params":["string","float"]}]}, "endpoint":"/data" } }
We need to handle the following requests (here :thing is a variable):
:thing
/starwars
/starwars/nodes_of_type/:type
/starwars/links_from_node/:node-id
/starwars/linked_from_node/:node-id/:relation
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Assuming we have
And relations:
We are creating tree like this one:
And if you select
starwars.hero.Luke
then you get sub-tree:Different requests
/starwars -- list all types of nodes
/starwars/nodes_of_type/ -- list all nodes of type
/starwars/links_from_node/
-- list all relations linking node with with something
/starwars/linked_from_node//
-- list all nodes connected to by relation
Eventually, we get to something like:
We need to handle the following requests (here
:thing
is a variable):/starwars
-- list all types of nodes/starwars/nodes_of_type/:type
-- list all nodes of type/starwars/links_from_node/:node-id
-- list all relations linking node with with something/starwars/linked_from_node/:node-id/:relation
-- list all nodes connected to by relationThe text was updated successfully, but these errors were encountered: