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

19 lines
371 B
Plaintext

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