1
0
Fork 0
arangodb/Documentation/Examples/RestGraphGetVertexEdges.gen...

42 lines
931 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/graph/edges/v2
{"batchSize" : 100, "filter" : { "direction" : "any" }}
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"result" : [
{
"_id" : "edges/edge1",
"_key" : "edge1",
"_rev" : "1310185437",
"_from" : "vertices/v1",
"_to" : "vertices/v2",
"$label" : null,
"optional1" : "val1"
},
{
"_id" : "edges/edge3",
"_key" : "edge3",
"_rev" : "1311234013",
"_from" : "vertices/v2",
"_to" : "vertices/v4",
"$label" : null,
"optional1" : "val1"
}
],
"hasMore" : false,
"extra" : {
"stats" : {
"writesExecuted" : 0,
"writesIgnored" : 0,
"scannedFull" : 0,
"scannedIndex" : 0,
"filtered" : 0
},
"warnings" : [ ]
},
"error" : false,
"code" : 201
}