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

30 lines
793 B
JSON

{
"indices.alias": {
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/",
"methods": ["GET", "POST"],
"url": {
"path": "/_aliases",
"paths": ["/_aliases", "/{index}/_aliases"],
"parts": {
"index": {
"type" : "list",
"description" : "A comma-separated list of index names to filter aliases"
}
},
"params": {
"index": {
"type" : "list",
"description" : "A comma-separated list of index names to filter aliases"
},
"timeout": {
"type" : "time",
"description" : "Explicit timestamp for the document"
}
}
},
"body": {
"description" : "The definition of `actions` to perform"
}
}
}