diff --git a/rest-api-spec/api/indices.gateway.snapshot.json b/rest-api-spec/api/indices.gateway.snapshot.json index cb87eb445e8..9348b069d1f 100644 --- a/rest-api-spec/api/indices.gateway.snapshot.json +++ b/rest-api-spec/api/indices.gateway.snapshot.json @@ -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" } } },