shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/graph/ <<EOF
{
"_key" : "graph",
"vertices" : "vertices",
"edges" : "edges"
}
EOF
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: 803991868
{
"graph" : {
"_id" : "_graphs/graph",
"_key" : "graph",
"_rev" : "803991868",
"edgeDefinitions" : [
{
"collection" : "edges",
"from" : [
"vertices"
],
"to" : [
"vertices"
]
}
]
},
"error" : false,
"code" : 202
}