OpenSearch/rest-api-spec/api/indices.snapshot_index.json

26 lines
761 B
JSON

{
"indices.snapshot_index": {
"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",
"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
}
}