mirror of https://gitee.com/bigwinds/arangodb
204 lines
7.0 KiB
Plaintext
204 lines
7.0 KiB
Plaintext
{
|
|
"basePath": "/",
|
|
"swaggerVersion": "1.1",
|
|
"apiVersion": "0.1",
|
|
"apis": [
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "reads all indexes of a collection",
|
|
"httpMethod": "GET",
|
|
"examples": "",
|
|
"nickname": "readsAllIndexesOfACollection"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "reads an index",
|
|
"httpMethod": "GET",
|
|
"examples": "",
|
|
"nickname": "readsAnIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 cap constraint",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsACapConstraint"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 geo-spatial index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsAGeo-spatialIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 hash index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsAHashIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 hash index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsAHashIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 fulltext index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsAFulltextIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 bitarray index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsABitarrayIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"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 an index",
|
|
"httpMethod": "POST",
|
|
"examples": "",
|
|
"nickname": "createsAnIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
},
|
|
{
|
|
"operations": [
|
|
{
|
|
"errorResponses": [],
|
|
"parameters": [],
|
|
"notes": "",
|
|
"summary": "deletes an index",
|
|
"httpMethod": "DELETE",
|
|
"examples": "",
|
|
"nickname": "deletesAnIndex"
|
|
}
|
|
],
|
|
"path": "/_api/index"
|
|
}
|
|
]
|
|
}
|