mirror of https://gitee.com/bigwinds/arangodb
142 lines
4.4 KiB
Plaintext
142 lines
4.4 KiB
Plaintext
{
|
|
"basePath": "/",
|
|
"swaggerVersion": "1.1",
|
|
"apiVersion": "0.1",
|
|
"apis": [
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [
|
|
{
|
|
"dataType": "String",
|
|
"paramType": "body",
|
|
"required": "false",
|
|
"name": "body",
|
|
"description": "A valid json document for your data, for instance {\"hello\": \"world\"}."
|
|
}
|
|
],
|
|
"notes": "",
|
|
"summary": "creates a collection",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "reads all collections",
|
|
"httpMethod": "GET",
|
|
"examples": "",
|
|
"nickname": "readsAllCollections"
|
|
}
|
|
],
|
|
"path": "/_api/collection"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "reads a collection",
|
|
"httpMethod": "GET",
|
|
"examples": "",
|
|
"nickname": "readsACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "loads a collection",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "loadsACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection/.../load"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "unloads a collection",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "unloadsACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection/.../unload"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "truncates a collection",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "truncatesACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection/.../truncate"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "changes the properties of a collection",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "changesThePropertiesOfACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection/.../properties"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "renames a collection",
|
|
"httpMethod": "PUT",
|
|
"examples": "",
|
|
"nickname": "renamesACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection/.../rename"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "deletes a collection",
|
|
"httpMethod": "DELETE",
|
|
"examples": "",
|
|
"nickname": "deletesACollection"
|
|
}
|
|
],
|
|
"path": "/_api/collection"
|
|
}
|
|
]
|
|
}
|