shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/traversal <<EOF { "startVertex" : "persons/alice", "graphName" : "knows_graph", "direction" : "outbound", "minDepth" : 2 } EOF HTTP/1.1 OK content-type: application/json; charset=utf-8 x-content-type-options: nosniff { "result" : { "visited" : { "vertices" : [ { "_key" : "charlie", "_id" : "persons/charlie", "_rev" : "_YOn1YUO--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", "_rev" : "_YOn1YUO--F", "name" : "Dave" } ], "paths" : [ { "edges" : [ { "_key" : "106842", "_id" : "knows/106842", "_from" : "persons/alice", "_to" : "persons/bob", "_rev" : "_YOn1YUS--B", "vertex" : "alice" }, { "_key" : "106846", "_id" : "knows/106846", "_from" : "persons/bob", "_to" : "persons/charlie", "_rev" : "_YOn1YUS--D", "vertex" : "bob" } ], "vertices" : [ { "_key" : "alice", "_id" : "persons/alice", "_rev" : "_YOn1YUO--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", "_rev" : "_YOn1YUO--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", "_rev" : "_YOn1YUO--D", "name" : "Charlie" } ] }, { "edges" : [ { "_key" : "106842", "_id" : "knows/106842", "_from" : "persons/alice", "_to" : "persons/bob", "_rev" : "_YOn1YUS--B", "vertex" : "alice" }, { "_key" : "106849", "_id" : "knows/106849", "_from" : "persons/bob", "_to" : "persons/dave", "_rev" : "_YOn1YUS--F", "vertex" : "bob" } ], "vertices" : [ { "_key" : "alice", "_id" : "persons/alice", "_rev" : "_YOn1YUO--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", "_rev" : "_YOn1YUO--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", "_rev" : "_YOn1YUO--F", "name" : "Dave" } ] } ] } }, "error" : false, "code" : 200 }