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

36 lines
968 B
JSON

{
"indices.get_template": {
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html",
"methods": ["GET"],
"url": {
"path": "/_template/{name}",
"paths": [
"/_template",
"/_template/{name}"
],
"parts": {
"name": {
"type": "string",
"required": false,
"description": "The name of the template"
}
},
"params": {
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"
}
}
},
"body": null
}
}