Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"abort_benchmark" : {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-benchmark.html",
"methods": ["POST"],
"url": {
"path": "/_bench/abort/{name}",
"paths": [
"/_bench/abort/{name}"
],
"parts": {
"name": {
"type" : "string",
"description" : "A benchmark name"
}
},
"params": {}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"bulk": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/docs-bulk.html",
"methods": ["POST", "PUT"],
"url": {
"path": "/_bulk",
"paths": ["/_bulk", "/{index}/_bulk", "/{index}/{type}/_bulk"],
"parts": {
"index": {
"type" : "string",
"description" : "Default index for items which don't provide one"
},
"type": {
"type" : "string",
"description" : "Default document type for items which don't provide one"
}
},
"params": {
"consistency": {
"type" : "enum",
"options" : ["one", "quorum", "all"],
"description" : "Explicit write consistency setting for the operation"
},
"refresh": {
"type" : "boolean",
"description" : "Refresh the index after performing the operation"
},
"replication": {
"type" : "enum",
"options" : ["sync","async"],
"default" : "sync",
"description" : "Explicitely set the replication type"
},
"routing": {
"type" : "string",
"description" : "Specific routing value"
},
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
},
"type": {
"type" : "string",
"description" : "Default document type for items which don't provide one"
},
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
}
}
},
"body": {
"description" : "The operation definition and data (action-data pairs), separated by newlines",
"required" : true,
"serialize" : "bulk"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"cat.aliases": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat-alias.html",
"methods": ["GET"],
"url": {
"path": "/_cat/aliases",
"paths": ["/_cat/aliases", "/_cat/aliases/{name}"],
"parts": {
"name": {
"type" : "list",
"description" : "A comma-separated list of alias names to return"
}
},
"params": {
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"cat.allocation": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat-allocation.html",
"methods": ["GET"],
"url": {
"path": "/_cat/allocation",
"paths": ["/_cat/allocation", "/_cat/allocation/{node_id}"],
"parts": {
"node_id": {
"type": "list",
"description": "A comma-separated list of node IDs or names to limit the returned information"
}
},
"params": {
"bytes": {
"type": "enum",
"description" : "The unit in which to display byte values",
"options": [ "b", "k", "m", "g" ]
},
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"cat.count": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat-count.html",
"methods": ["GET"],
"url": {
"path": "/_cat/count",
"paths": ["/_cat/count", "/_cat/count/{index}"],
"parts": {
"index": {
"type" : "list",
"description": "A comma-separated list of index names to limit the returned information"
}
},
"params": {
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"cat.fielddata": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat-fielddata.html",
"methods": ["GET"],
"url": {
"path": "/_cat/fielddata",
"paths": ["/_cat/fielddata", "/_cat/fielddata/{fields}"],
"parts": {
"fields": {
"type": "list",
"description": "A comma-separated list of fields to return the fielddata size"
}
},
"params": {
"bytes": {
"type": "enum",
"description" : "The unit in which to display byte values",
"options": [ "b", "k", "m", "g" ]
},
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"fields": {
"type": "list",
"description": "A comma-separated list of fields to return in the output"
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"cat.health": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat-health.html",
"methods": ["GET"],
"url": {
"path": "/_cat/health",
"paths": ["/_cat/health"],
"parts": {
},
"params": {
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"ts": {
"type": "boolean",
"description": "Set to false to disable timestamping",
"default": true
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"cat.help": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat.html",
"methods": ["GET"],
"url": {
"path": "/_cat",
"paths": ["/_cat"],
"parts": {
},
"params": {
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
}
}
},
"body": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"cat.indices": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.4/cat-indices.html",
"methods": ["GET"],
"url": {
"path": "/_cat/indices",
"paths": ["/_cat/indices", "/_cat/indices/{index}"],
"parts": {
"index": {
"type" : "list",
"description": "A comma-separated list of index names to limit the returned information"
}
},
"params": {
"bytes": {
"type": "enum",
"description" : "The unit in which to display byte values",
"options": [ "b", "k", "m", "g" ]
},
"local": {
"type" : "boolean",
"description" : "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type" : "time",
"description" : "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description" : "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"pri" : {
"type": "boolean",
"description": "Set to true to return stats only for primary shards",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}
Loading