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

21 lines
446 B
Plaintext

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