{ "basePath": "/", "swaggerVersion": "1.1", "apiVersion": "0.1", "apis": [ { "operations": [ { "errorResponses": [ { "reason": "is returned if all documents could be imported successfully.

", "code": "201" }, { "reason": "is returned if type contains an invalid value, no collection is specified, the documents are incorrectly encoded, or the request is malformed.

", "code": "400" }, { "reason": "is returned if collection or the _from or _to attributes of an imported edge refer to an unknown collection.

", "code": "404" }, { "reason": "is returned if the import would trigger a unique key violation and complete is set to true.

", "code": "409" }, { "reason": "is returned if the server cannot auto-generate a document key (out of keys error) for a document with no user-defined key.

", "code": "500" } ], "parameters": [ { "dataType": "String", "paramType": "body", "required": "true", "name": "documents", "description": "The body must either be a JSON-encoded list of documents or a string with multiple JSON documents separated by newlines.

" }, { "dataType": "String", "paramType": "query", "required": "true", "name": "type", "description": "Determines how the body of the request will be interpreted. type can have the following values: