1
0
Fork 0
arangodb/Documentation/Examples/RestImportCsvEdgeInvalid.ge...

19 lines
529 B
Plaintext

shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/import?collection=links&details=true
[ "name" ]
[ "some name" ]
[ "other name" ]
HTTP/1.1 201 Created
content-type: application/json; charset=utf-8
{
"error" : false,
"created" : 0,
"errors" : 2,
"empty" : 0,
"details" : [
"at position 1: missing '_from' or '_to' attribute, offending document: {\"name\":\"some name\"}",
"at position 2: missing '_from' or '_to' attribute, offending document: {\"name\":\"other name\"}"
]
}