Skip to content

Commit

Permalink
Update template v2 api rest spec (elastic#55948)
Browse files Browse the repository at this point in the history
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)

(cherry picked from commit e3e9782)
Signed-off-by: Andrei Dan <[email protected]>
  • Loading branch information
andreidan committed Apr 30, 2020
1 parent d3bcef2 commit 257eb4a
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@
]
},
"params":{
"order":{
"type":"number",
"description":"The order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers)"
},
"create":{
"type":"boolean",
"description":"Whether the index template should only be added if new or can also replace an existing one",
"default":false
},
"cause":{
"type":"string",
"description":"User defined reason for creating/updating the index template",
"default":false
},
"master_timeout":{
"type":"time",
"description":"Specify timeout for connection to master"
Expand Down

0 comments on commit 257eb4a

Please sign in to comment.