mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
65b85566a0
The file name of the REST specs should be the same as the endpoint which it documents.
22 lines
510 B
JSON
22 lines
510 B
JSON
{
|
|
"put_template": {
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/search-template.html",
|
|
"methods": ["PUT", "POST"],
|
|
"url": {
|
|
"path": "/_search/template/{id}",
|
|
"paths": [ "/_search/template/{id}" ],
|
|
"parts": {
|
|
"id": {
|
|
"type" : "string",
|
|
"description" : "Template ID",
|
|
"required" : true
|
|
}
|
|
}
|
|
},
|
|
"body": {
|
|
"description" : "The document",
|
|
"required" : true
|
|
}
|
|
}
|
|
}
|