OpenSearch/rest-api-spec/api/indices.template.put.json

31 lines
773 B
JSON

{
"indices.template.put": {
"documentation": "",
"methods": ["PUT", "POST"],
"url": {
"path": "/_template/{name}",
"paths": ["/_template/{name}"],
"parts": {
"name": {
"type" : "string",
"required" : true,
"description" : "The name of the template"
}
},
"params": {
"order": {
"type" : "number",
"description" : "The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
},
"timeout": {
"type" : "time",
"description" : "Explicit operation timeout"
}
}
},
"body": {
"description" : "The template definition"
}
}
}