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

31 lines
773 B
JSON

{
"indices.update_aliases": {
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
"methods": ["POST"],
"url": {
"path": "/_aliases",
"paths": ["/_aliases"],
"parts": {
"index": {
"type" : "list",
"description" : "A comma-separated list of index names to filter aliases"
}
},
"params": {
"timeout": {
"type" : "time",
"description" : "Request timeout"
},
"master_timeout": {
"type" : "time",
"description" : "Specify timeout for connection to master"
}
}
},
"body": {
"description" : "The definition of `actions` to perform",
"required" : true
}
}
}