1
0
Fork 0
arangodb/Documentation/Examples/api-graph-change-edge

21 lines
396 B
Plaintext

> curl --data @- -X PUT --dump - http://localhost:8529/_api/graph/graph1/edge/edge1
{"optional2" : "val2"}
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
etag: 57595391
{
"edge": {
"_id": "e/edge1",
"_rev": "57595391",
"_key": "edge1",
"_from": "v/vert2",
"_to": "v/vert1",
"$label": null,
"optional2": "val2"
},
"error": false,
"code": 200
}