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

36 lines
975 B
JSON
Raw Normal View History

{
"indices.get_template": {
"documentation": "http://www.elasticsearch.org/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
}
}