-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathcluster.put_component_template.json
47 lines (47 loc) · 1.23 KB
/
cluster.put_component_template.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"cluster.put_component_template": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html",
"description": "Creates or updates a component template"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_component_template/{name}",
"methods": ["PUT", "POST"],
"parts": {
"name": {
"type": "string",
"description": "The name of the template"
}
}
}
]
},
"params": {
"create": {
"type": "boolean",
"description": "Whether the index template should only be added if new or can also replace an existing one",
"default": false
},
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
},
"master_timeout": {
"type": "time",
"description": "Specify timeout for connection to master"
}
},
"body": {
"description": "The template definition",
"required": true
}
}
}