OpenSearch/rest-api-spec/api/indices.gateway.snapshot.json

27 lines
792 B
JSON

{
"indices.gateway.snapshot": {
"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": {
"type" : "enum",
"options" : ["none","missing"],
"default" : "none",
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
}
}
},
"body": null
}
}