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