Added the API definition for `_gateway/snapshot`
This commit is contained in:
parent
f336f6cf4f
commit
f0db0f9d3a
|
@ -1,18 +1,23 @@
|
|||
{
|
||||
"indices.gateway.snapshot": {
|
||||
"documentation": "",
|
||||
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-gateway-snapshot/",
|
||||
"methods": ["POST"],
|
||||
"url": {
|
||||
"path": "/_gateway/snapshot",
|
||||
"paths": ["/_gateway/snapshot", "/{index}/_gateway/snapshot"],
|
||||
"parts": {
|
||||
"index": {
|
||||
"type" : "list",
|
||||
"required" : true,
|
||||
"description" : "A comma-separated list of index names; use `_all` or empty string for all indices"
|
||||
}
|
||||
},
|
||||
"params": {
|
||||
"ignore_indices": {
|
||||
},
|
||||
"index": {
|
||||
"type" : "enum",
|
||||
"options" : ["none","missing"],
|
||||
"default" : "none",
|
||||
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue