Added the API definition for checking the document type existence

This commit is contained in:
Karel Minarik 2013-05-27 15:42:23 +02:00
parent 1813dc361e
commit 6b26609801
1 changed files with 11 additions and 3 deletions

View File

@ -1,20 +1,28 @@
{
"indices.exists.types": {
"documentation": "",
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-types-exists/",
"methods": ["HEAD"],
"url": {
"path": "/{index}/{type}",
"paths": ["/{index}/{type}"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` to check the types across all indices"
},
"type": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of document types to check"
}
},
"params": {
"ignore_indices": {
},
"type": {
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
}
}
},