Added the API definition for `_gateway/snapshot`

This commit is contained in:
Karel Minarik 2013-05-27 15:51:52 +02:00
parent f336f6cf4f
commit f0db0f9d3a
1 changed files with 8 additions and 3 deletions

View File

@ -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"
}
}
},