From 11f03c54797a5227fa673bfb4570fed43bf1afc1 Mon Sep 17 00:00:00 2001 From: Quentin Pradet Date: Wed, 19 Mar 2025 16:06:06 +0400 Subject: [PATCH] Add missing cause param to indices.put_template API (#125189) (#125203) --- .../resources/rest-api-spec/api/indices.put_template.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json index 7e4afb14e06e..492a47c19a19 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json @@ -37,6 +37,11 @@ "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":"" + }, "master_timeout":{ "type":"time", "description":"Specify timeout for connection to master"