shell> curl -X PUT --data-binary @- --dump - http://localhost:8529/_api/gharial/social/edge/relation <<EOF
{
"collection" : "relation",
"from" : [
"female",
"male",
"animal"
],
"to" : [
"female",
"male",
"animal"
]
}
EOF
HTTP/1.1 202 Accepted
content-type: application/json; charset=utf-8
etag: _UWx8WMO---
{
"error" : false,
"graph" : {
"name" : "social",
"edgeDefinitions" : [
{
"collection" : "relation",
"from" : [
"animal",
"female",
"male"
],
"to" : [
"animal",
"female",
"male"
]
}
],
"orphanCollections" : [ ],
"isSmart" : false,
"numberOfShards" : 0,
"smartGraphAttribute" : "",
"_id" : "_graphs/social",
"_rev" : "_UWx8WMO---"
},
"code" : 202
}