2013-05-24 12:02:42 +02:00
|
|
|
{
|
2013-06-07 18:54:21 +02:00
|
|
|
"indices.get_template": {
|
2014-01-22 14:40:31 +01:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-templates.html",
|
2013-05-24 12:02:42 +02:00
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_template/{name}",
|
2013-10-23 21:14:02 -07:00
|
|
|
"paths": ["/_template", "/_template/{name}"],
|
2013-05-24 12:02:42 +02:00
|
|
|
"parts": {
|
|
|
|
"name": {
|
2013-05-27 21:47:34 +02:00
|
|
|
"type" : "string",
|
2013-10-08 18:16:27 +02:00
|
|
|
"required" : false,
|
2013-05-27 21:47:34 +02:00
|
|
|
"description" : "The name of the template"
|
2013-05-24 12:02:42 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2014-01-06 11:50:57 -05:00
|
|
|
"flat_settings": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Return settings in flat format (default: false)"
|
2014-01-17 16:39:18 +01:00
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Return local information, do not retrieve the state from master node (default: false)"
|
2014-01-06 11:50:57 -05:00
|
|
|
}
|
2013-05-24 12:02:42 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|