Added the API definition for checking the document type existence
This commit is contained in:
parent
1813dc361e
commit
6b26609801
|
@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue