{
"basePath": "/",
"swaggerVersion": "1.1",
"apiVersion": "0.1",
"apis": [
{
"operations": [
{
"errorResponses": [],
"parameters": [
{
"dataType": "String",
"paramType": "query",
"required": "True",
"name": "collection",
"description": "Creates a new document in the collection collection. "
},
{
"dataType": "Json",
"paramType": "body",
"required": "true",
"name": "structure",
"description": "The structure definition. "
}
],
"notes": "
Creates a new document in the collection identified by the collection-identifier. A JSON representation of the document must be passed as the body of the POST request. The document must fullfill the requirements of the structure definition, see @ref ArangoStructures.
In all other respects the function is identical to the @ref triagens::arango::RestDocumentHandler::createDocument \"POST /_api/structure\". ",
"summary": "creates a structured document",
"httpMethod": "POST",
"examples": "",
"nickname": "createsAStructuredDocument"
}
],
"path": "/_api/structure"
}
]
}