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 content-type: application/json; charset=utf-8 etag: _V8R08Kq--_ x-content-type-options: nosniff { "error" : false, "graph" : { "name" : "myGraph", "edgeDefinitions" : [ { "collection" : "edges", "from" : [ "startVertices" ], "to" : [ "endVertices" ] } ], "orphanCollections" : [ ], "isSmart" : false, "numberOfShards" : 0, "replicationFactor" : 1, "smartGraphAttribute" : "", "_id" : "_graphs/myGraph", "_rev" : "_V8R08Kq--_" }, "code" : 202 }