[SPEC] Added cat.json

This commit is contained in:
Clinton Gormley 2014-01-16 13:21:31 +01:00
parent e613ecf9b4
commit 500d6f7098
1 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{
"cat": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/cat.html",
"methods": ["GET"],
"url": {
"path": "/_cat",
"paths": ["/_cat/aliases", "/_cat/aliases/{alias}", "/_cat/allocation", "/_cat/allocation/{nodes}", "/_cat", "/_cat/health", "/_cat/indices", "/_cat/indices/{index}", "/_cat/master", "/_cat/nodes", "/_cat/pending_tasks", "/_cat/shards", "/_cat/shards/{index}"],
"parts": {
"alias": {
"type" : "list",
"description" : "A comma-separated list of alias names to return"
},
"nodes": {
"type": "list",
"description": "A comma-separated list of node IDs or names to limit the returned information"
},
"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": "boolean",
"description": "Return help information",
"default": false
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
}
}
},
"body": null
}
}