1
0
Fork 0
arangodb/Documentation/Examples/HttpGharialAddVertexCol.gen...

35 lines
637 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/gharial/social/vertex
{
"collection" : "otherVertices"
}
HTTP/1.1 201 Created
content-type: application/json
etag: 1428874871
{
"error" : false,
"code" : 201,
"graph" : {
"name" : "social",
"edgeDefinitions" : [
{
"collection" : "relation",
"from" : [
"female",
"male"
],
"to" : [
"female",
"male"
]
}
],
"orphanCollections" : [
"otherVertices"
],
"_id" : "_graphs/social",
"_rev" : "1428874871"
}
}