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" : "_YYClR9e--D", "name" : "Charlie" }, { "_key" : "dave", "_id" : "persons/dave", "_rev" : "_YYClR9i--_", "name" : "Dave" } ], "paths" : [ { "edges" : [ { "_key" : "107463", "_id" : "knows/107463", "_from" : "persons/alice", "_to" : "persons/bob", "_rev" : "_YYClR9m--_", "vertex" : "alice" }, { "_key" : "107467", "_id" : "knows/107467", "_from" : "persons/bob", "_to" : "persons/charlie", "_rev" : "_YYClR9m--B", "vertex" : "bob" } ], "vertices" : [ { "_key" : "alice", "_id" : "persons/alice", "_rev" : "_YYClR9e--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", "_rev" : "_YYClR9e--B", "name" : "Bob" }, { "_key" : "charlie", "_id" : "persons/charlie", "_rev" : "_YYClR9e--D", "name" : "Charlie" } ] }, { "edges" : [ { "_key" : "107463", "_id" : "knows/107463", "_from" : "persons/alice", "_to" : "persons/bob", "_rev" : "_YYClR9m--_", "vertex" : "alice" }, { "_key" : "107470", "_id" : "knows/107470", "_from" : "persons/bob", "_to" : "persons/dave", "_rev" : "_YYClR9m--D", "vertex" : "bob" } ], "vertices" : [ { "_key" : "alice", "_id" : "persons/alice", "_rev" : "_YYClR9e--_", "name" : "Alice" }, { "_key" : "bob", "_id" : "persons/bob", "_rev" : "_YYClR9e--B", "name" : "Bob" }, { "_key" : "dave", "_id" : "persons/dave", "_rev" : "_YYClR9i--_", "name" : "Dave" } ] } ] } }, "error" : false, "code" : 200 }