Skip to content

Instantly share code, notes, and snippets.

@elisedeux
Created November 9, 2018 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elisedeux/38a0b3bdfb8a96d82e16a5a3d348c9d6 to your computer and use it in GitHub Desktop.
Save elisedeux/38a0b3bdfb8a96d82e16a5a3d348c9d6 to your computer and use it in GitHub Desktop.
Guest Mode URL Parameters
# Load a node by node ID
/guest?populate=nodeId&item_id=123&key=a1b1c1
# Load an edge and its source and target nodes by edge ID
/guest?populate=edgeId&item_id=123&key=a1b1c1
# Load a node and its neighbors by node ID
/guest?populate=expandNodeId&item_id=123&key=a1b1c1
# Load nodes (by search query)
/guest?populate=searchNodes&search_query=paris&search_fuzziness=0.8&key=a1b1c1
# Load edges (by search query)
/guest?populate=searchEdges&search_query=has_city&key=a1b1c1
# Load nodes and edges (by Cypher/Gremlin query)
/guest?populate=pattern&pattern_dialect=cypher&pattern_query=MATCH+(n)-%5Be%5D-(m)+LIMIT+5+RETURN+n,e,m&key=a1b1c1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment