2013-05-24 06:02:42 -04:00
|
|
|
{
|
2013-06-07 12:54:21 -04:00
|
|
|
"indices.get_template": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-templates.html",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_template/{name}",
|
2015-02-13 05:11:02 -05:00
|
|
|
"paths": [
|
|
|
|
"/_template",
|
|
|
|
"/_template/{name}"
|
|
|
|
],
|
2013-05-24 06:02:42 -04:00
|
|
|
"parts": {
|
|
|
|
"name": {
|
2015-02-13 05:11:02 -05:00
|
|
|
"type": "string",
|
|
|
|
"required": false,
|
|
|
|
"description": "The name of the template"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2015-02-13 05:11:02 -05:00
|
|
|
"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)"
|
|
|
|
}
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|