shell> curl -X POST --header 'accept: application/json' --data-binary @- --dump - http://localhost:8529/_api/gharial <<EOF { "name" : "myGraph", "edgeDefinitions" : [ { "collection" : "edges", "from" : [ "startVertices" ], "to" : [ "endVertices" ] } ], "isSmart" : true, "options" : { "replicationFactor" : 2, "numberOfShards" : 9, "smartGraphAttribute" : "region" } } EOF HTTP/1.1 Accepted content-type: application/json; charset=utf-8 etag: _ZXF5wR2--A x-content-type-options: nosniff { "error" : false, "code" : 202, "graph" : { "_key" : "myGraph", "numberOfShards" : 9, "replicationFactor" : 2, "minReplicationFactor" : 1, "isSmart" : false, "edgeDefinitions" : [ { "collection" : "edges", "from" : [ "startVertices" ], "to" : [ "endVertices" ] } ], "orphanCollections" : [ ], "_rev" : "_ZXF5wR2--A", "_id" : "_graphs/myGraph", "name" : "myGraph" } }