Skip to content

Commit e3e9782

Browse files
authored
Update template v2 api rest spec (elastic#55948)
This removed the specification of `order` as it is not a parameter of the v2 put template api (the priority is the equivalent of `order` and is defined in the body) and add a bit of description for the `cause` parameter (which is currently used as a cluster update task tracking)
1 parent 2f251c3 commit e3e9782

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_index_template.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,16 @@
2323
]
2424
},
2525
"params":{
26-
"order":{
27-
"type":"number",
28-
"description":"The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
29-
},
3026
"create":{
3127
"type":"boolean",
3228
"description":"Whether the index template should only be added if new or can also replace an existing one",
3329
"default":false
3430
},
31+
"cause":{
32+
"type":"string",
33+
"description":"User defined reason for creating/updating the index template",
34+
"default":false
35+
},
3536
"master_timeout":{
3637
"type":"time",
3738
"description":"Specify timeout for connection to master"

0 commit comments

Comments
 (0)