1
0
Fork 0
arangodb/Documentation/Examples/api-graph-create-graph

18 lines
349 B
Plaintext

> curl --data @- -X POST --dump - http://localhost:8529/_api/graph
{"_key" : "graph1", "vertices" : "v", "edges" : "e"}
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"graph": {
"_id": "_graphs/graph1",
"_rev": 11767958,
"_key": "graph1",
"vertices": "v",
"edges": "e"
},
"error": false,
"code": 200
}