29 lines
830 B
JSON
29 lines
830 B
JSON
{
|
|
"indices.get_template": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/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)"
|
|
},
|
|
"local": {
|
|
"type": "boolean",
|
|
"description": "Return local information, do not retrieve the state from master node (default: false)"
|
|
}
|
|
}
|
|
},
|
|
"body": null
|
|
}
|
|
}
|