diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 2bbafc9942..fd55468b1f 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1,121 +1,5 @@ { "endpointErrors": { - "cat.aliases": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.allocation": { - "request": [ - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.component_templates": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.count": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.fielddata": { - "request": [ - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.health": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.master": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.ml_datafeeds": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.nodeattrs": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.pending_tasks": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.plugins": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.repositories": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.segments": { - "request": [ - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.snapshots": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.tasks": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.templates": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec", - "Request: query parameter 'time' does not exist in the json spec" - ], - "response": [] - }, - "cat.thread_pool": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, - "cat.transforms": { - "request": [ - "Request: query parameter 'bytes' does not exist in the json spec" - ], - "response": [] - }, "streams.status": { "request": [ "Request: query parameter 'master_timeout' does not exist in the json spec" diff --git a/specification/_json_spec/_internal.delete_desired_balance.json b/specification/_json_spec/_internal.delete_desired_balance.json index 4b5034a3ae..5a917cce51 100644 --- a/specification/_json_spec/_internal.delete_desired_balance.json +++ b/specification/_json_spec/_internal.delete_desired_balance.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master node" } } diff --git a/specification/_json_spec/_internal.delete_desired_nodes.json b/specification/_json_spec/_internal.delete_desired_nodes.json index 32d4707fe0..f1d561d132 100644 --- a/specification/_json_spec/_internal.delete_desired_nodes.json +++ b/specification/_json_spec/_internal.delete_desired_nodes.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/_internal.get_desired_balance.json b/specification/_json_spec/_internal.get_desired_balance.json index f73a5cad89..70c4ce6a59 100644 --- a/specification/_json_spec/_internal.get_desired_balance.json +++ b/specification/_json_spec/_internal.get_desired_balance.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master node" } } diff --git a/specification/_json_spec/_internal.prevalidate_node_removal.json b/specification/_json_spec/_internal.prevalidate_node_removal.json index 4cd5741bd9..9320c6508e 100644 --- a/specification/_json_spec/_internal.prevalidate_node_removal.json +++ b/specification/_json_spec/_internal.prevalidate_node_removal.json @@ -32,6 +32,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/autoscaling.delete_autoscaling_policy.json b/specification/_json_spec/autoscaling.delete_autoscaling_policy.json index 2cfcfa9fc0..a9fb4a6ee2 100644 --- a/specification/_json_spec/autoscaling.delete_autoscaling_policy.json +++ b/specification/_json_spec/autoscaling.delete_autoscaling_policy.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/autoscaling.get_autoscaling_capacity.json b/specification/_json_spec/autoscaling.get_autoscaling_capacity.json index 8029a1b34c..d44f25bca8 100644 --- a/specification/_json_spec/autoscaling.get_autoscaling_capacity.json +++ b/specification/_json_spec/autoscaling.get_autoscaling_capacity.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/autoscaling.get_autoscaling_policy.json b/specification/_json_spec/autoscaling.get_autoscaling_policy.json index 712e38bf6a..cb9f4cea7b 100644 --- a/specification/_json_spec/autoscaling.get_autoscaling_policy.json +++ b/specification/_json_spec/autoscaling.get_autoscaling_policy.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/autoscaling.put_autoscaling_policy.json b/specification/_json_spec/autoscaling.put_autoscaling_policy.json index 9cde76ebb6..f78413ec6d 100644 --- a/specification/_json_spec/autoscaling.put_autoscaling_policy.json +++ b/specification/_json_spec/autoscaling.put_autoscaling_policy.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/cat.aliases.json b/specification/_json_spec/cat.aliases.json index 008ba2db52..9dbabe8d31 100644 --- a/specification/_json_spec/cat.aliases.json +++ b/specification/_json_spec/cat.aliases.json @@ -60,6 +60,16 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "all", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.allocation.json b/specification/_json_spec/cat.allocation.json index 5597bec49f..548f38d2fb 100644 --- a/specification/_json_spec/cat.allocation.json +++ b/specification/_json_spec/cat.allocation.json @@ -38,12 +38,18 @@ "description": "The unit in which to display byte values", "options": ["b", "kb", "mb", "gb", "tb", "pb"] }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] + }, "local": { "type": "boolean", "description": "Return local information, do not retrieve the state from master node (default: false)" }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { diff --git a/specification/_json_spec/cat.component_templates.json b/specification/_json_spec/cat.component_templates.json index 6a6781891c..925920081b 100644 --- a/specification/_json_spec/cat.component_templates.json +++ b/specification/_json_spec/cat.component_templates.json @@ -39,6 +39,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -58,6 +59,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.count.json b/specification/_json_spec/cat.count.json index 99f9eb9a89..9ac0771896 100644 --- a/specification/_json_spec/cat.count.json +++ b/specification/_json_spec/cat.count.json @@ -50,6 +50,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.fielddata.json b/specification/_json_spec/cat.fielddata.json index f6c0fe5cac..4b0993f121 100644 --- a/specification/_json_spec/cat.fielddata.json +++ b/specification/_json_spec/cat.fielddata.json @@ -59,6 +59,11 @@ "fields": { "type": "list", "description": "A comma-separated list of fields to return in the output" + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.health.json b/specification/_json_spec/cat.health.json index e058393a16..6c2c3a291a 100644 --- a/specification/_json_spec/cat.health.json +++ b/specification/_json_spec/cat.health.json @@ -50,6 +50,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.indices.json b/specification/_json_spec/cat.indices.json index a087e9a436..2d380f021b 100644 --- a/specification/_json_spec/cat.indices.json +++ b/specification/_json_spec/cat.indices.json @@ -40,6 +40,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { diff --git a/specification/_json_spec/cat.master.json b/specification/_json_spec/cat.master.json index 50f1353571..cb21cf2010 100644 --- a/specification/_json_spec/cat.master.json +++ b/specification/_json_spec/cat.master.json @@ -29,6 +29,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -48,6 +49,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.ml_data_frame_analytics.json b/specification/_json_spec/cat.ml_data_frame_analytics.json index 5f222eac94..278d88c807 100644 --- a/specification/_json_spec/cat.ml_data_frame_analytics.json +++ b/specification/_json_spec/cat.ml_data_frame_analytics.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no configs. (This includes `_all` string or when no configs have been specified)" }, "bytes": { diff --git a/specification/_json_spec/cat.ml_datafeeds.json b/specification/_json_spec/cat.ml_datafeeds.json index 7f93d43b7d..83f7a801e0 100644 --- a/specification/_json_spec/cat.ml_datafeeds.json +++ b/specification/_json_spec/cat.ml_datafeeds.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)" }, "format": { @@ -60,6 +59,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.ml_jobs.json b/specification/_json_spec/cat.ml_jobs.json index 0f770a244c..48f04244a4 100644 --- a/specification/_json_spec/cat.ml_jobs.json +++ b/specification/_json_spec/cat.ml_jobs.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)" }, "bytes": { diff --git a/specification/_json_spec/cat.ml_trained_models.json b/specification/_json_spec/cat.ml_trained_models.json index f851cb3d3f..5e5422ca31 100644 --- a/specification/_json_spec/cat.ml_trained_models.json +++ b/specification/_json_spec/cat.ml_trained_models.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)", "default": true }, diff --git a/specification/_json_spec/cat.nodeattrs.json b/specification/_json_spec/cat.nodeattrs.json index af1380a848..b2ebc6d85a 100644 --- a/specification/_json_spec/cat.nodeattrs.json +++ b/specification/_json_spec/cat.nodeattrs.json @@ -29,6 +29,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -48,6 +49,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.nodes.json b/specification/_json_spec/cat.nodes.json index 93d805e389..d145cbe019 100644 --- a/specification/_json_spec/cat.nodes.json +++ b/specification/_json_spec/cat.nodes.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { diff --git a/specification/_json_spec/cat.pending_tasks.json b/specification/_json_spec/cat.pending_tasks.json index 2fccfa4e07..59864b2f70 100644 --- a/specification/_json_spec/cat.pending_tasks.json +++ b/specification/_json_spec/cat.pending_tasks.json @@ -29,6 +29,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -53,6 +54,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.plugins.json b/specification/_json_spec/cat.plugins.json index 513547dcb1..775439ddf9 100644 --- a/specification/_json_spec/cat.plugins.json +++ b/specification/_json_spec/cat.plugins.json @@ -29,6 +29,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -53,6 +54,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.repositories.json b/specification/_json_spec/cat.repositories.json index 4a3f2a5885..3667c119dd 100644 --- a/specification/_json_spec/cat.repositories.json +++ b/specification/_json_spec/cat.repositories.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -49,6 +50,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.segments.json b/specification/_json_spec/cat.segments.json index b1549979c1..f139903c87 100644 --- a/specification/_json_spec/cat.segments.json +++ b/specification/_json_spec/cat.segments.json @@ -39,6 +39,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "bytes": { @@ -63,6 +64,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.shards.json b/specification/_json_spec/cat.shards.json index 4c82fe428a..302fc5418f 100644 --- a/specification/_json_spec/cat.shards.json +++ b/specification/_json_spec/cat.shards.json @@ -40,6 +40,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { diff --git a/specification/_json_spec/cat.snapshots.json b/specification/_json_spec/cat.snapshots.json index 2fb2bf3613..66eb67fa31 100644 --- a/specification/_json_spec/cat.snapshots.json +++ b/specification/_json_spec/cat.snapshots.json @@ -40,6 +40,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -64,6 +65,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.tasks.json b/specification/_json_spec/cat.tasks.json index f8930f877d..099e18dfc2 100644 --- a/specification/_json_spec/cat.tasks.json +++ b/specification/_json_spec/cat.tasks.json @@ -71,6 +71,11 @@ "type": "boolean", "default": false, "description": "If `true`, the request blocks until the task has completed." + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.templates.json b/specification/_json_spec/cat.templates.json index a63252cae3..f4cabeaa20 100644 --- a/specification/_json_spec/cat.templates.json +++ b/specification/_json_spec/cat.templates.json @@ -39,6 +39,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -58,6 +59,16 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] + }, + "time": { + "type": "enum", + "description": "The unit in which to display time values", + "options": ["d", "h", "m", "s", "ms", "micros", "nanos"] } } } diff --git a/specification/_json_spec/cat.thread_pool.json b/specification/_json_spec/cat.thread_pool.json index 85372c6da8..eac207917e 100644 --- a/specification/_json_spec/cat.thread_pool.json +++ b/specification/_json_spec/cat.thread_pool.json @@ -44,6 +44,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "h": { @@ -63,6 +64,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/cat.transforms.json b/specification/_json_spec/cat.transforms.json index 1f9e35fedc..079b177072 100644 --- a/specification/_json_spec/cat.transforms.json +++ b/specification/_json_spec/cat.transforms.json @@ -30,17 +30,14 @@ "params": { "from": { "type": "int", - "required": false, "description": "skips a number of transform configs, defaults to 0" }, "size": { "type": "int", - "required": false, "description": "specifies a max number of transforms to get, defaults to 100" }, "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)" }, "format": { @@ -70,6 +67,11 @@ "type": "boolean", "description": "Verbose mode. Display column headers", "default": false + }, + "bytes": { + "type": "enum", + "description": "The unit in which to display byte values", + "options": ["b", "kb", "mb", "gb", "tb", "pb"] } } } diff --git a/specification/_json_spec/ccr.delete_auto_follow_pattern.json b/specification/_json_spec/ccr.delete_auto_follow_pattern.json index ca47a91f85..6eb83ab19a 100644 --- a/specification/_json_spec/ccr.delete_auto_follow_pattern.json +++ b/specification/_json_spec/ccr.delete_auto_follow_pattern.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.follow.json b/specification/_json_spec/ccr.follow.json index 0ddbe5a018..96e384d52e 100644 --- a/specification/_json_spec/ccr.follow.json +++ b/specification/_json_spec/ccr.follow.json @@ -32,6 +32,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } }, diff --git a/specification/_json_spec/ccr.follow_info.json b/specification/_json_spec/ccr.follow_info.json index a347880eca..175027bd96 100644 --- a/specification/_json_spec/ccr.follow_info.json +++ b/specification/_json_spec/ccr.follow_info.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.get_auto_follow_pattern.json b/specification/_json_spec/ccr.get_auto_follow_pattern.json index dc3e3d5f51..2cf36b2558 100644 --- a/specification/_json_spec/ccr.get_auto_follow_pattern.json +++ b/specification/_json_spec/ccr.get_auto_follow_pattern.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.pause_auto_follow_pattern.json b/specification/_json_spec/ccr.pause_auto_follow_pattern.json index 954737265e..f4edb1256b 100644 --- a/specification/_json_spec/ccr.pause_auto_follow_pattern.json +++ b/specification/_json_spec/ccr.pause_auto_follow_pattern.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.pause_follow.json b/specification/_json_spec/ccr.pause_follow.json index 0d91eb6cd5..c334f0974a 100644 --- a/specification/_json_spec/ccr.pause_follow.json +++ b/specification/_json_spec/ccr.pause_follow.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.put_auto_follow_pattern.json b/specification/_json_spec/ccr.put_auto_follow_pattern.json index d536f9f494..01ed50fcc4 100644 --- a/specification/_json_spec/ccr.put_auto_follow_pattern.json +++ b/specification/_json_spec/ccr.put_auto_follow_pattern.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } }, diff --git a/specification/_json_spec/ccr.resume_auto_follow_pattern.json b/specification/_json_spec/ccr.resume_auto_follow_pattern.json index ca7b35a934..db3015b6d9 100644 --- a/specification/_json_spec/ccr.resume_auto_follow_pattern.json +++ b/specification/_json_spec/ccr.resume_auto_follow_pattern.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.resume_follow.json b/specification/_json_spec/ccr.resume_follow.json index 52ee1dc96a..9776ebccde 100644 --- a/specification/_json_spec/ccr.resume_follow.json +++ b/specification/_json_spec/ccr.resume_follow.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } }, diff --git a/specification/_json_spec/ccr.stats.json b/specification/_json_spec/ccr.stats.json index 4aacba69de..6660717b7e 100644 --- a/specification/_json_spec/ccr.stats.json +++ b/specification/_json_spec/ccr.stats.json @@ -24,6 +24,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ccr.unfollow.json b/specification/_json_spec/ccr.unfollow.json index fba0285390..12e80049a1 100644 --- a/specification/_json_spec/ccr.unfollow.json +++ b/specification/_json_spec/ccr.unfollow.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/cluster.allocation_explain.json b/specification/_json_spec/cluster.allocation_explain.json index 4bdd6d82cf..0560e6e20e 100644 --- a/specification/_json_spec/cluster.allocation_explain.json +++ b/specification/_json_spec/cluster.allocation_explain.json @@ -21,6 +21,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master node" }, "include_yes_decisions": { diff --git a/specification/_json_spec/cluster.delete_component_template.json b/specification/_json_spec/cluster.delete_component_template.json index 4f0f3070a1..0e52711105 100644 --- a/specification/_json_spec/cluster.delete_component_template.json +++ b/specification/_json_spec/cluster.delete_component_template.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/cluster.delete_voting_config_exclusions.json b/specification/_json_spec/cluster.delete_voting_config_exclusions.json index b3521efa39..89525b98ed 100644 --- a/specification/_json_spec/cluster.delete_voting_config_exclusions.json +++ b/specification/_json_spec/cluster.delete_voting_config_exclusions.json @@ -25,8 +25,8 @@ }, "master_timeout": { "type": "time", - "description": "Timeout for submitting request to master", - "default": "30s" + "default": "30s", + "description": "Timeout for submitting request to master" } } } diff --git a/specification/_json_spec/cluster.exists_component_template.json b/specification/_json_spec/cluster.exists_component_template.json index 13f813a51b..178f13b4f3 100644 --- a/specification/_json_spec/cluster.exists_component_template.json +++ b/specification/_json_spec/cluster.exists_component_template.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/cluster.get_component_template.json b/specification/_json_spec/cluster.get_component_template.json index 15bda27477..5b7a2fdb5f 100644 --- a/specification/_json_spec/cluster.get_component_template.json +++ b/specification/_json_spec/cluster.get_component_template.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/cluster.get_settings.json b/specification/_json_spec/cluster.get_settings.json index 2cf63f4c24..b50588608f 100644 --- a/specification/_json_spec/cluster.get_settings.json +++ b/specification/_json_spec/cluster.get_settings.json @@ -24,6 +24,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/cluster.health.json b/specification/_json_spec/cluster.health.json index 421a5c35e7..d75452cb4e 100644 --- a/specification/_json_spec/cluster.health.json +++ b/specification/_json_spec/cluster.health.json @@ -46,6 +46,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/cluster.pending_tasks.json b/specification/_json_spec/cluster.pending_tasks.json index dd135ff6e3..144c9a3cd6 100644 --- a/specification/_json_spec/cluster.pending_tasks.json +++ b/specification/_json_spec/cluster.pending_tasks.json @@ -24,6 +24,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/cluster.post_voting_config_exclusions.json b/specification/_json_spec/cluster.post_voting_config_exclusions.json index 0a4403e48d..d39858e3ab 100644 --- a/specification/_json_spec/cluster.post_voting_config_exclusions.json +++ b/specification/_json_spec/cluster.post_voting_config_exclusions.json @@ -33,8 +33,8 @@ }, "master_timeout": { "type": "time", - "description": "Timeout for submitting request to master", - "default": "30s" + "default": "30s", + "description": "Timeout for submitting request to master" } } } diff --git a/specification/_json_spec/cluster.put_component_template.json b/specification/_json_spec/cluster.put_component_template.json index b9f6ce84d3..ab4e6ebfc2 100644 --- a/specification/_json_spec/cluster.put_component_template.json +++ b/specification/_json_spec/cluster.put_component_template.json @@ -37,6 +37,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/cluster.put_settings.json b/specification/_json_spec/cluster.put_settings.json index a940d8796e..f5588bb79e 100644 --- a/specification/_json_spec/cluster.put_settings.json +++ b/specification/_json_spec/cluster.put_settings.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/cluster.reroute.json b/specification/_json_spec/cluster.reroute.json index 6ff5171086..475be4e9b1 100644 --- a/specification/_json_spec/cluster.reroute.json +++ b/specification/_json_spec/cluster.reroute.json @@ -47,6 +47,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/cluster.state.json b/specification/_json_spec/cluster.state.json index 493355ef63..fb57cd5cd2 100644 --- a/specification/_json_spec/cluster.state.json +++ b/specification/_json_spec/cluster.state.json @@ -68,6 +68,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "flat_settings": { diff --git a/specification/_json_spec/dangling_indices.delete_dangling_index.json b/specification/_json_spec/dangling_indices.delete_dangling_index.json index d96d62bbc0..c53a278fc5 100644 --- a/specification/_json_spec/dangling_indices.delete_dangling_index.json +++ b/specification/_json_spec/dangling_indices.delete_dangling_index.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/dangling_indices.import_dangling_index.json b/specification/_json_spec/dangling_indices.import_dangling_index.json index ba93d470a1..3b39adbae1 100644 --- a/specification/_json_spec/dangling_indices.import_dangling_index.json +++ b/specification/_json_spec/dangling_indices.import_dangling_index.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/delete_script.json b/specification/_json_spec/delete_script.json index a285e1cc89..259ac2d027 100644 --- a/specification/_json_spec/delete_script.json +++ b/specification/_json_spec/delete_script.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/enrich.delete_policy.json b/specification/_json_spec/enrich.delete_policy.json index 2b3df94093..4718eef781 100644 --- a/specification/_json_spec/enrich.delete_policy.json +++ b/specification/_json_spec/enrich.delete_policy.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/enrich.execute_policy.json b/specification/_json_spec/enrich.execute_policy.json index 9c99afb3dc..aed3952432 100644 --- a/specification/_json_spec/enrich.execute_policy.json +++ b/specification/_json_spec/enrich.execute_policy.json @@ -31,6 +31,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/enrich.get_policy.json b/specification/_json_spec/enrich.get_policy.json index 070dc7229f..43e44b2bb1 100644 --- a/specification/_json_spec/enrich.get_policy.json +++ b/specification/_json_spec/enrich.get_policy.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/enrich.put_policy.json b/specification/_json_spec/enrich.put_policy.json index ca78351c13..c630333244 100644 --- a/specification/_json_spec/enrich.put_policy.json +++ b/specification/_json_spec/enrich.put_policy.json @@ -31,6 +31,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/enrich.stats.json b/specification/_json_spec/enrich.stats.json index d7e78db8c2..d1deed4919 100644 --- a/specification/_json_spec/enrich.stats.json +++ b/specification/_json_spec/enrich.stats.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/features.get_features.json b/specification/_json_spec/features.get_features.json index d1f31db4fc..30157c1306 100644 --- a/specification/_json_spec/features.get_features.json +++ b/specification/_json_spec/features.get_features.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/features.reset_features.json b/specification/_json_spec/features.reset_features.json index e627a0ffbb..792b17effb 100644 --- a/specification/_json_spec/features.reset_features.json +++ b/specification/_json_spec/features.reset_features.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/get_script.json b/specification/_json_spec/get_script.json index 995d6222e0..d00a8e15ff 100644 --- a/specification/_json_spec/get_script.json +++ b/specification/_json_spec/get_script.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/ilm.delete_lifecycle.json b/specification/_json_spec/ilm.delete_lifecycle.json index 0d5f72e4b1..8c29946cd2 100644 --- a/specification/_json_spec/ilm.delete_lifecycle.json +++ b/specification/_json_spec/ilm.delete_lifecycle.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ilm.explain_lifecycle.json b/specification/_json_spec/ilm.explain_lifecycle.json index 9363934ebe..b3b0718d29 100644 --- a/specification/_json_spec/ilm.explain_lifecycle.json +++ b/specification/_json_spec/ilm.explain_lifecycle.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ilm.get_lifecycle.json b/specification/_json_spec/ilm.get_lifecycle.json index dcc1cf2270..0b9bf496ac 100644 --- a/specification/_json_spec/ilm.get_lifecycle.json +++ b/specification/_json_spec/ilm.get_lifecycle.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ilm.put_lifecycle.json b/specification/_json_spec/ilm.put_lifecycle.json index 3e712dc342..e4cca128e5 100644 --- a/specification/_json_spec/ilm.put_lifecycle.json +++ b/specification/_json_spec/ilm.put_lifecycle.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ilm.start.json b/specification/_json_spec/ilm.start.json index 873ab02b15..9a298fc604 100644 --- a/specification/_json_spec/ilm.start.json +++ b/specification/_json_spec/ilm.start.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ilm.stop.json b/specification/_json_spec/ilm.stop.json index 7906d39fbd..a06bc799c1 100644 --- a/specification/_json_spec/ilm.stop.json +++ b/specification/_json_spec/ilm.stop.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/indices.add_block.json b/specification/_json_spec/indices.add_block.json index 37814910d1..4db39e2fa6 100644 --- a/specification/_json_spec/indices.add_block.json +++ b/specification/_json_spec/indices.add_block.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.clone.json b/specification/_json_spec/indices.clone.json index 51347e0add..0fea968cb2 100644 --- a/specification/_json_spec/indices.clone.json +++ b/specification/_json_spec/indices.clone.json @@ -35,6 +35,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "wait_for_active_shards": { diff --git a/specification/_json_spec/indices.close.json b/specification/_json_spec/indices.close.json index 24f0218934..9ab13ad428 100644 --- a/specification/_json_spec/indices.close.json +++ b/specification/_json_spec/indices.close.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.create.json b/specification/_json_spec/indices.create.json index 78200ecae7..16cf15914a 100644 --- a/specification/_json_spec/indices.create.json +++ b/specification/_json_spec/indices.create.json @@ -35,6 +35,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.create_data_stream.json b/specification/_json_spec/indices.create_data_stream.json index 91977c6231..006eaca94f 100644 --- a/specification/_json_spec/indices.create_data_stream.json +++ b/specification/_json_spec/indices.create_data_stream.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete.json b/specification/_json_spec/indices.delete.json index 986257f86a..2484b67a30 100644 --- a/specification/_json_spec/indices.delete.json +++ b/specification/_json_spec/indices.delete.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.delete_alias.json b/specification/_json_spec/indices.delete_alias.json index d708f35ae3..c19a65bbd9 100644 --- a/specification/_json_spec/indices.delete_alias.json +++ b/specification/_json_spec/indices.delete_alias.json @@ -48,6 +48,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete_data_lifecycle.json b/specification/_json_spec/indices.delete_data_lifecycle.json index 7edc4d2311..08b3fdb0fe 100644 --- a/specification/_json_spec/indices.delete_data_lifecycle.json +++ b/specification/_json_spec/indices.delete_data_lifecycle.json @@ -36,6 +36,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete_data_stream.json b/specification/_json_spec/indices.delete_data_stream.json index 9be2c64554..714951fdc8 100644 --- a/specification/_json_spec/indices.delete_data_stream.json +++ b/specification/_json_spec/indices.delete_data_stream.json @@ -32,6 +32,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete_data_stream_options.json b/specification/_json_spec/indices.delete_data_stream_options.json index be18d9a9ab..06fad82e69 100644 --- a/specification/_json_spec/indices.delete_data_stream_options.json +++ b/specification/_json_spec/indices.delete_data_stream_options.json @@ -36,6 +36,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete_index_template.json b/specification/_json_spec/indices.delete_index_template.json index 99379fe9f3..6a87657485 100644 --- a/specification/_json_spec/indices.delete_index_template.json +++ b/specification/_json_spec/indices.delete_index_template.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.delete_template.json b/specification/_json_spec/indices.delete_template.json index 48d4b1fd58..4e7b4240c4 100644 --- a/specification/_json_spec/indices.delete_template.json +++ b/specification/_json_spec/indices.delete_template.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.exists_index_template.json b/specification/_json_spec/indices.exists_index_template.json index 75291fea8a..da726aabd1 100644 --- a/specification/_json_spec/indices.exists_index_template.json +++ b/specification/_json_spec/indices.exists_index_template.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/indices.exists_template.json b/specification/_json_spec/indices.exists_template.json index 7766bfe21b..6c57eb1cbe 100644 --- a/specification/_json_spec/indices.exists_template.json +++ b/specification/_json_spec/indices.exists_template.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/indices.explain_data_lifecycle.json b/specification/_json_spec/indices.explain_data_lifecycle.json index 8b7c908372..7ba579b7eb 100644 --- a/specification/_json_spec/indices.explain_data_lifecycle.json +++ b/specification/_json_spec/indices.explain_data_lifecycle.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.get.json b/specification/_json_spec/indices.get.json index 795466cd99..ae2f5f4f7f 100644 --- a/specification/_json_spec/indices.get.json +++ b/specification/_json_spec/indices.get.json @@ -59,6 +59,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.get_data_lifecycle.json b/specification/_json_spec/indices.get_data_lifecycle.json index fd105a950a..c84638464d 100644 --- a/specification/_json_spec/indices.get_data_lifecycle.json +++ b/specification/_json_spec/indices.get_data_lifecycle.json @@ -36,6 +36,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.get_data_stream.json b/specification/_json_spec/indices.get_data_stream.json index f55e0f1feb..3a9094e970 100644 --- a/specification/_json_spec/indices.get_data_stream.json +++ b/specification/_json_spec/indices.get_data_stream.json @@ -40,6 +40,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "verbose": { diff --git a/specification/_json_spec/indices.get_data_stream_options.json b/specification/_json_spec/indices.get_data_stream_options.json index 743a641913..f9bf86c711 100644 --- a/specification/_json_spec/indices.get_data_stream_options.json +++ b/specification/_json_spec/indices.get_data_stream_options.json @@ -32,6 +32,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.get_data_stream_settings.json b/specification/_json_spec/indices.get_data_stream_settings.json index d9590196ff..d30b9d2560 100644 --- a/specification/_json_spec/indices.get_data_stream_settings.json +++ b/specification/_json_spec/indices.get_data_stream_settings.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Period to wait for a connection to the master node" } } diff --git a/specification/_json_spec/indices.get_index_template.json b/specification/_json_spec/indices.get_index_template.json index 7de63e1d61..6a217ee9d9 100644 --- a/specification/_json_spec/indices.get_index_template.json +++ b/specification/_json_spec/indices.get_index_template.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/indices.get_mapping.json b/specification/_json_spec/indices.get_mapping.json index 19ff43be16..11f00a744b 100644 --- a/specification/_json_spec/indices.get_mapping.json +++ b/specification/_json_spec/indices.get_mapping.json @@ -44,6 +44,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "local": { diff --git a/specification/_json_spec/indices.get_settings.json b/specification/_json_spec/indices.get_settings.json index 565dcebaf8..ae91f7dbb9 100644 --- a/specification/_json_spec/indices.get_settings.json +++ b/specification/_json_spec/indices.get_settings.json @@ -54,6 +54,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.get_template.json b/specification/_json_spec/indices.get_template.json index 836bf5f42a..25fbd33b14 100644 --- a/specification/_json_spec/indices.get_template.json +++ b/specification/_json_spec/indices.get_template.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/indices.migrate_to_data_stream.json b/specification/_json_spec/indices.migrate_to_data_stream.json index cef04623b1..4dce099f55 100644 --- a/specification/_json_spec/indices.migrate_to_data_stream.json +++ b/specification/_json_spec/indices.migrate_to_data_stream.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.open.json b/specification/_json_spec/indices.open.json index af444dde88..feb80d9709 100644 --- a/specification/_json_spec/indices.open.json +++ b/specification/_json_spec/indices.open.json @@ -30,6 +30,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.promote_data_stream.json b/specification/_json_spec/indices.promote_data_stream.json index 54245d2e18..05de200f26 100644 --- a/specification/_json_spec/indices.promote_data_stream.json +++ b/specification/_json_spec/indices.promote_data_stream.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/indices.put_alias.json b/specification/_json_spec/indices.put_alias.json index d166f6af79..863e013b93 100644 --- a/specification/_json_spec/indices.put_alias.json +++ b/specification/_json_spec/indices.put_alias.json @@ -49,6 +49,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.put_data_lifecycle.json b/specification/_json_spec/indices.put_data_lifecycle.json index dd51ac3c1e..e7be2ffd97 100644 --- a/specification/_json_spec/indices.put_data_lifecycle.json +++ b/specification/_json_spec/indices.put_data_lifecycle.json @@ -37,6 +37,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.put_data_stream_options.json b/specification/_json_spec/indices.put_data_stream_options.json index 6134e81b17..6a6ee45930 100644 --- a/specification/_json_spec/indices.put_data_stream_options.json +++ b/specification/_json_spec/indices.put_data_stream_options.json @@ -37,6 +37,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.put_data_stream_settings.json b/specification/_json_spec/indices.put_data_stream_settings.json index 2bc0c435b5..bf2826d3de 100644 --- a/specification/_json_spec/indices.put_data_stream_settings.json +++ b/specification/_json_spec/indices.put_data_stream_settings.json @@ -35,6 +35,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Period to wait for a connection to the master node" } }, diff --git a/specification/_json_spec/indices.put_index_template.json b/specification/_json_spec/indices.put_index_template.json index 09e51e9263..7ca8ac3d70 100644 --- a/specification/_json_spec/indices.put_index_template.json +++ b/specification/_json_spec/indices.put_index_template.json @@ -37,6 +37,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.put_mapping.json b/specification/_json_spec/indices.put_mapping.json index 7ee0930c34..aababfcdaa 100644 --- a/specification/_json_spec/indices.put_mapping.json +++ b/specification/_json_spec/indices.put_mapping.json @@ -31,6 +31,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.put_settings.json b/specification/_json_spec/indices.put_settings.json index 097710e647..a3836f8a58 100644 --- a/specification/_json_spec/indices.put_settings.json +++ b/specification/_json_spec/indices.put_settings.json @@ -31,6 +31,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "timeout": { diff --git a/specification/_json_spec/indices.put_template.json b/specification/_json_spec/indices.put_template.json index 87913b50b8..c8ef12945a 100644 --- a/specification/_json_spec/indices.put_template.json +++ b/specification/_json_spec/indices.put_template.json @@ -41,6 +41,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/indices.rollover.json b/specification/_json_spec/indices.rollover.json index e9ea8bf5c7..8ed96f8d2b 100644 --- a/specification/_json_spec/indices.rollover.json +++ b/specification/_json_spec/indices.rollover.json @@ -49,6 +49,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "wait_for_active_shards": { diff --git a/specification/_json_spec/indices.shrink.json b/specification/_json_spec/indices.shrink.json index 887fb05c76..8f67ce49ac 100644 --- a/specification/_json_spec/indices.shrink.json +++ b/specification/_json_spec/indices.shrink.json @@ -35,6 +35,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "wait_for_active_shards": { diff --git a/specification/_json_spec/indices.simulate_index_template.json b/specification/_json_spec/indices.simulate_index_template.json index 82fce985a1..7050871b99 100644 --- a/specification/_json_spec/indices.simulate_index_template.json +++ b/specification/_json_spec/indices.simulate_index_template.json @@ -37,6 +37,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "include_defaults": { diff --git a/specification/_json_spec/indices.simulate_template.json b/specification/_json_spec/indices.simulate_template.json index 2bac14f946..c4b823990d 100644 --- a/specification/_json_spec/indices.simulate_template.json +++ b/specification/_json_spec/indices.simulate_template.json @@ -41,6 +41,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "include_defaults": { diff --git a/specification/_json_spec/indices.split.json b/specification/_json_spec/indices.split.json index 687c66316a..88ba0f81c6 100644 --- a/specification/_json_spec/indices.split.json +++ b/specification/_json_spec/indices.split.json @@ -35,6 +35,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "wait_for_active_shards": { diff --git a/specification/_json_spec/indices.unfreeze.json b/specification/_json_spec/indices.unfreeze.json index 7fd2ca80c2..c8e4c7ed0e 100644 --- a/specification/_json_spec/indices.unfreeze.json +++ b/specification/_json_spec/indices.unfreeze.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "ignore_unavailable": { diff --git a/specification/_json_spec/indices.update_aliases.json b/specification/_json_spec/indices.update_aliases.json index 9f724ac79b..d75dcfc014 100644 --- a/specification/_json_spec/indices.update_aliases.json +++ b/specification/_json_spec/indices.update_aliases.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/inference.delete.json b/specification/_json_spec/inference.delete.json index 834e91f43c..d6f87d18d8 100644 --- a/specification/_json_spec/inference.delete.json +++ b/specification/_json_spec/inference.delete.json @@ -40,13 +40,11 @@ "params": { "dry_run": { "type": "boolean", - "description": "If true the endpoint will not be deleted and a list of ingest processors which reference this endpoint will be returned.", - "required": false + "description": "If true the endpoint will not be deleted and a list of ingest processors which reference this endpoint will be returned." }, "force": { "type": "boolean", - "description": "If true the endpoint will be forcefully stopped (regardless of whether or not it is referenced by any ingest processors or semantic text fields).", - "required": false + "description": "If true the endpoint will be forcefully stopped (regardless of whether or not it is referenced by any ingest processors or semantic text fields)." } } } diff --git a/specification/_json_spec/ingest.delete_geoip_database.json b/specification/_json_spec/ingest.delete_geoip_database.json index 4493846599..a000cf84c4 100644 --- a/specification/_json_spec/ingest.delete_geoip_database.json +++ b/specification/_json_spec/ingest.delete_geoip_database.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ingest.delete_ip_location_database.json b/specification/_json_spec/ingest.delete_ip_location_database.json index 2416edb353..7a29dcc37e 100644 --- a/specification/_json_spec/ingest.delete_ip_location_database.json +++ b/specification/_json_spec/ingest.delete_ip_location_database.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ingest.delete_pipeline.json b/specification/_json_spec/ingest.delete_pipeline.json index 435bcf0896..6d169317ad 100644 --- a/specification/_json_spec/ingest.delete_pipeline.json +++ b/specification/_json_spec/ingest.delete_pipeline.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ingest.get_pipeline.json b/specification/_json_spec/ingest.get_pipeline.json index d68469b2c3..a11eb06e2a 100644 --- a/specification/_json_spec/ingest.get_pipeline.json +++ b/specification/_json_spec/ingest.get_pipeline.json @@ -34,6 +34,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/ingest.put_geoip_database.json b/specification/_json_spec/ingest.put_geoip_database.json index eb0286e59c..b174e4faf2 100644 --- a/specification/_json_spec/ingest.put_geoip_database.json +++ b/specification/_json_spec/ingest.put_geoip_database.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ingest.put_ip_location_database.json b/specification/_json_spec/ingest.put_ip_location_database.json index 88f3408fbb..30d2dee2d7 100644 --- a/specification/_json_spec/ingest.put_ip_location_database.json +++ b/specification/_json_spec/ingest.put_ip_location_database.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ingest.put_pipeline.json b/specification/_json_spec/ingest.put_pipeline.json index 5e3ff7b4fc..2b8b1cd46e 100644 --- a/specification/_json_spec/ingest.put_pipeline.json +++ b/specification/_json_spec/ingest.put_pipeline.json @@ -31,6 +31,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/license.delete.json b/specification/_json_spec/license.delete.json index 563774842c..fb22e23e0a 100644 --- a/specification/_json_spec/license.delete.json +++ b/specification/_json_spec/license.delete.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/license.post.json b/specification/_json_spec/license.post.json index b529869097..643ad1f712 100644 --- a/specification/_json_spec/license.post.json +++ b/specification/_json_spec/license.post.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/license.post_start_basic.json b/specification/_json_spec/license.post_start_basic.json index 504993ee8d..e6a944e65a 100644 --- a/specification/_json_spec/license.post_start_basic.json +++ b/specification/_json_spec/license.post_start_basic.json @@ -24,6 +24,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/license.post_start_trial.json b/specification/_json_spec/license.post_start_trial.json index 8936cbd535..111d8bf233 100644 --- a/specification/_json_spec/license.post_start_trial.json +++ b/specification/_json_spec/license.post_start_trial.json @@ -28,6 +28,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/ml.close_job.json b/specification/_json_spec/ml.close_job.json index e52c3974f2..347a868671 100644 --- a/specification/_json_spec/ml.close_job.json +++ b/specification/_json_spec/ml.close_job.json @@ -27,12 +27,10 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)" }, "force": { "type": "boolean", - "required": false, "description": "True if the job should be forcefully closed" }, "timeout": { diff --git a/specification/_json_spec/ml.delete_datafeed.json b/specification/_json_spec/ml.delete_datafeed.json index 35cbbfd74f..02d78771ad 100644 --- a/specification/_json_spec/ml.delete_datafeed.json +++ b/specification/_json_spec/ml.delete_datafeed.json @@ -26,7 +26,6 @@ "params": { "force": { "type": "boolean", - "required": false, "description": "True if the datafeed should be forcefully deleted" } } diff --git a/specification/_json_spec/ml.delete_expired_data.json b/specification/_json_spec/ml.delete_expired_data.json index 53c776c836..660a15514b 100644 --- a/specification/_json_spec/ml.delete_expired_data.json +++ b/specification/_json_spec/ml.delete_expired_data.json @@ -31,12 +31,10 @@ "params": { "requests_per_second": { "type": "number", - "required": false, "description": "The desired requests per second for the deletion processes." }, "timeout": { "type": "time", - "required": false, "description": "How long can the underlying delete processes run until they are canceled" } }, diff --git a/specification/_json_spec/ml.delete_forecast.json b/specification/_json_spec/ml.delete_forecast.json index 868a40dfb3..9bea4e7f06 100644 --- a/specification/_json_spec/ml.delete_forecast.json +++ b/specification/_json_spec/ml.delete_forecast.json @@ -40,12 +40,10 @@ "params": { "allow_no_forecasts": { "type": "boolean", - "required": false, "description": "Whether to ignore if `_all` matches no forecasts" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until the forecast(s) are deleted. Default to 30 seconds" } } diff --git a/specification/_json_spec/ml.delete_trained_model.json b/specification/_json_spec/ml.delete_trained_model.json index fa6af4bdef..461087ca0c 100644 --- a/specification/_json_spec/ml.delete_trained_model.json +++ b/specification/_json_spec/ml.delete_trained_model.json @@ -26,13 +26,11 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "Controls the amount of time to wait for the model to be deleted.", "default": "30s" }, "force": { "type": "boolean", - "required": false, "description": "True if the model should be forcefully deleted" } } diff --git a/specification/_json_spec/ml.forecast.json b/specification/_json_spec/ml.forecast.json index acd4805352..d91735fa36 100644 --- a/specification/_json_spec/ml.forecast.json +++ b/specification/_json_spec/ml.forecast.json @@ -27,17 +27,14 @@ "params": { "duration": { "type": "time", - "required": false, "description": "The duration of the forecast" }, "expires_in": { "type": "time", - "required": false, "description": "The time interval after which the forecast expires. Expired forecasts will be deleted at the first opportunity." }, "max_model_memory": { "type": "string", - "required": false, "description": "The max memory able to be used by the forecast. Default is 20mb." } }, diff --git a/specification/_json_spec/ml.get_data_frame_analytics.json b/specification/_json_spec/ml.get_data_frame_analytics.json index 12d8f524b5..83ca49e094 100644 --- a/specification/_json_spec/ml.get_data_frame_analytics.json +++ b/specification/_json_spec/ml.get_data_frame_analytics.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)", "default": true }, @@ -45,7 +44,6 @@ "default": 100 }, "exclude_generated": { - "required": false, "type": "boolean", "default": false, "description": "Omits fields that are illegal to set on data frame analytics PUT" diff --git a/specification/_json_spec/ml.get_data_frame_analytics_stats.json b/specification/_json_spec/ml.get_data_frame_analytics_stats.json index ca40143ed0..ff47be4663 100644 --- a/specification/_json_spec/ml.get_data_frame_analytics_stats.json +++ b/specification/_json_spec/ml.get_data_frame_analytics_stats.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)", "default": true }, @@ -46,7 +45,6 @@ }, "verbose": { "type": "boolean", - "required": false, "description": "whether the stats response should be verbose", "default": false } diff --git a/specification/_json_spec/ml.get_datafeed_stats.json b/specification/_json_spec/ml.get_datafeed_stats.json index d5e0625833..7739d56a15 100644 --- a/specification/_json_spec/ml.get_datafeed_stats.json +++ b/specification/_json_spec/ml.get_datafeed_stats.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)" } } diff --git a/specification/_json_spec/ml.get_datafeeds.json b/specification/_json_spec/ml.get_datafeeds.json index dae028e941..acaa4cb029 100644 --- a/specification/_json_spec/ml.get_datafeeds.json +++ b/specification/_json_spec/ml.get_datafeeds.json @@ -30,11 +30,9 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)" }, "exclude_generated": { - "required": false, "type": "boolean", "default": false, "description": "Omits fields that are illegal to set on datafeed PUT" diff --git a/specification/_json_spec/ml.get_job_stats.json b/specification/_json_spec/ml.get_job_stats.json index be37f2c865..0c9bea733b 100644 --- a/specification/_json_spec/ml.get_job_stats.json +++ b/specification/_json_spec/ml.get_job_stats.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)" } } diff --git a/specification/_json_spec/ml.get_jobs.json b/specification/_json_spec/ml.get_jobs.json index c0eee9cc39..0a021cf6ea 100644 --- a/specification/_json_spec/ml.get_jobs.json +++ b/specification/_json_spec/ml.get_jobs.json @@ -30,11 +30,9 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no jobs. (This includes `_all` string or when no jobs have been specified)" }, "exclude_generated": { - "required": false, "type": "boolean", "default": false, "description": "Omits fields that are illegal to set on job PUT" diff --git a/specification/_json_spec/ml.get_memory_stats.json b/specification/_json_spec/ml.get_memory_stats.json index 65624ca0a4..d8f2b0b90f 100644 --- a/specification/_json_spec/ml.get_memory_stats.json +++ b/specification/_json_spec/ml.get_memory_stats.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/ml.get_model_snapshot_upgrade_stats.json b/specification/_json_spec/ml.get_model_snapshot_upgrade_stats.json index 18539a3387..26ae34776b 100644 --- a/specification/_json_spec/ml.get_model_snapshot_upgrade_stats.json +++ b/specification/_json_spec/ml.get_model_snapshot_upgrade_stats.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no jobs or no snapshots. (This includes the `_all` string.)" } } diff --git a/specification/_json_spec/ml.get_trained_models.json b/specification/_json_spec/ml.get_trained_models.json index 5874de5d51..974b766933 100644 --- a/specification/_json_spec/ml.get_trained_models.json +++ b/specification/_json_spec/ml.get_trained_models.json @@ -30,47 +30,39 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)", "default": true }, "include": { "type": "string", - "required": false, "description": "A comma-separate list of fields to optionally include. Valid options are 'definition' and 'total_feature_importance'. Default is none." }, "include_model_definition": { "type": "boolean", - "required": false, "description": "Should the full model definition be included in the results. These definitions can be large. So be cautious when including them. Defaults to false.", "default": false, "deprecated": true }, "decompress_definition": { "type": "boolean", - "required": false, "default": true, "description": "Should the model definition be decompressed into valid JSON or returned in a custom compressed format. Defaults to true." }, "from": { - "required": false, "type": "int", "description": "skips a number of trained models", "default": 0 }, "size": { - "required": false, "type": "int", "description": "specifies a max number of trained models to get", "default": 100 }, "tags": { - "required": false, "type": "list", "description": "A comma-separated list of tags that the model must have." }, "exclude_generated": { - "required": false, "type": "boolean", "default": false, "description": "Omits fields that are illegal to set on model PUT" diff --git a/specification/_json_spec/ml.get_trained_models_stats.json b/specification/_json_spec/ml.get_trained_models_stats.json index 0f36404fba..4742979025 100644 --- a/specification/_json_spec/ml.get_trained_models_stats.json +++ b/specification/_json_spec/ml.get_trained_models_stats.json @@ -30,7 +30,6 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)", "default": true }, diff --git a/specification/_json_spec/ml.infer_trained_model.json b/specification/_json_spec/ml.infer_trained_model.json index df450ba80a..0e4b184424 100644 --- a/specification/_json_spec/ml.infer_trained_model.json +++ b/specification/_json_spec/ml.infer_trained_model.json @@ -43,7 +43,6 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "Controls the amount of time to wait for inference results.", "default": "10s" } diff --git a/specification/_json_spec/ml.preview_datafeed.json b/specification/_json_spec/ml.preview_datafeed.json index f729ce025a..ab56407fc2 100644 --- a/specification/_json_spec/ml.preview_datafeed.json +++ b/specification/_json_spec/ml.preview_datafeed.json @@ -31,12 +31,10 @@ "params": { "start": { "type": "string", - "required": false, "description": "The start time from where the datafeed preview should begin" }, "end": { "type": "string", - "required": false, "description": "The end time when the datafeed preview should stop" } }, diff --git a/specification/_json_spec/ml.put_trained_model.json b/specification/_json_spec/ml.put_trained_model.json index e156a83af6..263aaeda4a 100644 --- a/specification/_json_spec/ml.put_trained_model.json +++ b/specification/_json_spec/ml.put_trained_model.json @@ -26,13 +26,11 @@ }, "params": { "defer_definition_decompression": { - "required": false, "type": "boolean", "description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.", "default": false }, "wait_for_completion": { - "required": false, "type": "boolean", "description": "Whether to wait for all child operations(e.g. model download) to complete, before returning or not. Default to false", "default": false diff --git a/specification/_json_spec/ml.start_data_frame_analytics.json b/specification/_json_spec/ml.start_data_frame_analytics.json index b4060966d1..66c5b211aa 100644 --- a/specification/_json_spec/ml.start_data_frame_analytics.json +++ b/specification/_json_spec/ml.start_data_frame_analytics.json @@ -27,7 +27,6 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until the task has started. Defaults to 20 seconds" } }, diff --git a/specification/_json_spec/ml.start_datafeed.json b/specification/_json_spec/ml.start_datafeed.json index e7bf31cd19..1c533012c0 100644 --- a/specification/_json_spec/ml.start_datafeed.json +++ b/specification/_json_spec/ml.start_datafeed.json @@ -27,17 +27,14 @@ "params": { "start": { "type": "string", - "required": false, "description": "The start time from where the datafeed should begin" }, "end": { "type": "string", - "required": false, "description": "The end time when the datafeed should stop. When not set, the datafeed continues in real time" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until a datafeed has started. Default to 20 seconds" } }, diff --git a/specification/_json_spec/ml.start_trained_model_deployment.json b/specification/_json_spec/ml.start_trained_model_deployment.json index fb79d37f2a..e471e7727f 100644 --- a/specification/_json_spec/ml.start_trained_model_deployment.json +++ b/specification/_json_spec/ml.start_trained_model_deployment.json @@ -28,47 +28,39 @@ "params": { "cache_size": { "type": "string", - "description": "A byte-size value for configuring the inference cache size. For example, 20mb.", - "required": false + "description": "A byte-size value for configuring the inference cache size. For example, 20mb." }, "deployment_id": { "type": "string", - "description": "The Id of the new deployment. Defaults to the model_id if not set.", - "required": false + "description": "The Id of the new deployment. Defaults to the model_id if not set." }, "number_of_allocations": { "type": "int", "description": "The total number of allocations this model is assigned across machine learning nodes.", - "required": false, "default": 1 }, "threads_per_allocation": { "type": "int", "description": "The number of threads used by each model allocation during inference.", - "required": false, "default": 1 }, "priority": { "type": "string", "description": "The deployment priority.", - "required": false, "default": "normal" }, "queue_capacity": { "type": "int", "description": "Controls how many inference requests are allowed in the queue at a time.", - "required": false, "default": 1024 }, "timeout": { "type": "time", - "required": false, "description": "Controls the amount of time to wait for the model to deploy.", "default": "20s" }, "wait_for": { "type": "string", - "required": false, "description": "The allocation status for which to wait", "options": ["starting", "started", "fully_allocated"], "default": "started" diff --git a/specification/_json_spec/ml.stop_data_frame_analytics.json b/specification/_json_spec/ml.stop_data_frame_analytics.json index f94cca72f3..edde0665d2 100644 --- a/specification/_json_spec/ml.stop_data_frame_analytics.json +++ b/specification/_json_spec/ml.stop_data_frame_analytics.json @@ -27,17 +27,14 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)" }, "force": { "type": "boolean", - "required": false, "description": "True if the data frame analytics should be forcefully stopped" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until the task has stopped. Defaults to 20 seconds" } }, diff --git a/specification/_json_spec/ml.stop_datafeed.json b/specification/_json_spec/ml.stop_datafeed.json index f2c2b8ca20..ecc26aafdf 100644 --- a/specification/_json_spec/ml.stop_datafeed.json +++ b/specification/_json_spec/ml.stop_datafeed.json @@ -27,17 +27,14 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no datafeeds. (This includes `_all` string or when no datafeeds have been specified)" }, "force": { "type": "boolean", - "required": false, "description": "True if the datafeed should be forcefully stopped." }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until a datafeed has stopped. Default to 20 seconds" } }, diff --git a/specification/_json_spec/ml.stop_trained_model_deployment.json b/specification/_json_spec/ml.stop_trained_model_deployment.json index 3b1df1321e..ed928b0355 100644 --- a/specification/_json_spec/ml.stop_trained_model_deployment.json +++ b/specification/_json_spec/ml.stop_trained_model_deployment.json @@ -28,12 +28,10 @@ "params": { "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no deployments. (This includes `_all` string or when no deployments have been specified)" }, "force": { "type": "boolean", - "required": false, "description": "True if the deployment should be forcefully stopped" } }, diff --git a/specification/_json_spec/ml.update_trained_model_deployment.json b/specification/_json_spec/ml.update_trained_model_deployment.json index 977e019dfa..f0ef4179e9 100644 --- a/specification/_json_spec/ml.update_trained_model_deployment.json +++ b/specification/_json_spec/ml.update_trained_model_deployment.json @@ -27,7 +27,6 @@ "params": { "number_of_allocations": { "type": "int", - "required": false, "description": "Update the model deployment to this number of allocations." } }, diff --git a/specification/_json_spec/ml.upgrade_job_snapshot.json b/specification/_json_spec/ml.upgrade_job_snapshot.json index de7cb38e82..085deb3375 100644 --- a/specification/_json_spec/ml.upgrade_job_snapshot.json +++ b/specification/_json_spec/ml.upgrade_job_snapshot.json @@ -30,12 +30,10 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "How long should the API wait for the job to be opened and the old snapshot to be loaded." }, "wait_for_completion": { "type": "boolean", - "required": false, "description": "Should the request wait until the task is complete before responding to the caller. Default is false." } } diff --git a/specification/_json_spec/profiling.status.json b/specification/_json_spec/profiling.status.json index 1bdb52125f..68a76d9cfd 100644 --- a/specification/_json_spec/profiling.status.json +++ b/specification/_json_spec/profiling.status.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/put_script.json b/specification/_json_spec/put_script.json index 203a727088..d1a3361aa6 100644 --- a/specification/_json_spec/put_script.json +++ b/specification/_json_spec/put_script.json @@ -45,6 +45,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" }, "context": { diff --git a/specification/_json_spec/rollup.stop_job.json b/specification/_json_spec/rollup.stop_job.json index 99c9a55df0..aaf6f527a6 100644 --- a/specification/_json_spec/rollup.stop_job.json +++ b/specification/_json_spec/rollup.stop_job.json @@ -26,12 +26,10 @@ "params": { "wait_for_completion": { "type": "boolean", - "required": false, "description": "True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false." }, "timeout": { "type": "time", - "required": false, "description": "Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s." } } diff --git a/specification/_json_spec/search_shards.json b/specification/_json_spec/search_shards.json index 68627b0b4b..3a553e1264 100644 --- a/specification/_json_spec/search_shards.json +++ b/specification/_json_spec/search_shards.json @@ -56,6 +56,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } } diff --git a/specification/_json_spec/searchable_snapshots.mount.json b/specification/_json_spec/searchable_snapshots.mount.json index 1e7eaf417b..41440e22e8 100644 --- a/specification/_json_spec/searchable_snapshots.mount.json +++ b/specification/_json_spec/searchable_snapshots.mount.json @@ -31,6 +31,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "wait_for_completion": { diff --git a/specification/_json_spec/security.clear_cached_realms.json b/specification/_json_spec/security.clear_cached_realms.json index 148f61f31e..f11d316d42 100644 --- a/specification/_json_spec/security.clear_cached_realms.json +++ b/specification/_json_spec/security.clear_cached_realms.json @@ -26,8 +26,7 @@ "params": { "usernames": { "type": "list", - "description": "Comma-separated list of usernames to clear from the cache", - "required": false + "description": "Comma-separated list of usernames to clear from the cache" } } } diff --git a/specification/_json_spec/security.get_settings.json b/specification/_json_spec/security.get_settings.json index 801a328150..180590d9b1 100644 --- a/specification/_json_spec/security.get_settings.json +++ b/specification/_json_spec/security.get_settings.json @@ -21,6 +21,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master" } } diff --git a/specification/_json_spec/security.update_settings.json b/specification/_json_spec/security.update_settings.json index df4c4e18ec..4f4b601707 100644 --- a/specification/_json_spec/security.update_settings.json +++ b/specification/_json_spec/security.update_settings.json @@ -21,6 +21,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for connection to master" }, "timeout": { diff --git a/specification/_json_spec/shutdown.delete_node.json b/specification/_json_spec/shutdown.delete_node.json index 1d2c808ef7..2b90546436 100644 --- a/specification/_json_spec/shutdown.delete_node.json +++ b/specification/_json_spec/shutdown.delete_node.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/shutdown.get_node.json b/specification/_json_spec/shutdown.get_node.json index 0346dd8370..88a2814931 100644 --- a/specification/_json_spec/shutdown.get_node.json +++ b/specification/_json_spec/shutdown.get_node.json @@ -32,6 +32,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" } } diff --git a/specification/_json_spec/shutdown.put_node.json b/specification/_json_spec/shutdown.put_node.json index f6420877af..622ac6095b 100644 --- a/specification/_json_spec/shutdown.put_node.json +++ b/specification/_json_spec/shutdown.put_node.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.delete_lifecycle.json b/specification/_json_spec/slm.delete_lifecycle.json index 2702374dcb..5993c7a19b 100644 --- a/specification/_json_spec/slm.delete_lifecycle.json +++ b/specification/_json_spec/slm.delete_lifecycle.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.execute_lifecycle.json b/specification/_json_spec/slm.execute_lifecycle.json index 6af1939e8f..6273106d0c 100644 --- a/specification/_json_spec/slm.execute_lifecycle.json +++ b/specification/_json_spec/slm.execute_lifecycle.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.execute_retention.json b/specification/_json_spec/slm.execute_retention.json index d88d84d4b0..8727f7f2cc 100644 --- a/specification/_json_spec/slm.execute_retention.json +++ b/specification/_json_spec/slm.execute_retention.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.get_lifecycle.json b/specification/_json_spec/slm.get_lifecycle.json index 0db3c85dc9..b25fdc1798 100644 --- a/specification/_json_spec/slm.get_lifecycle.json +++ b/specification/_json_spec/slm.get_lifecycle.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.get_stats.json b/specification/_json_spec/slm.get_stats.json index def6ad21e6..0ce9871c6d 100644 --- a/specification/_json_spec/slm.get_stats.json +++ b/specification/_json_spec/slm.get_stats.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.get_status.json b/specification/_json_spec/slm.get_status.json index c173a315f0..7aaa57891c 100644 --- a/specification/_json_spec/slm.get_status.json +++ b/specification/_json_spec/slm.get_status.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.put_lifecycle.json b/specification/_json_spec/slm.put_lifecycle.json index 44ba630398..9a853861e8 100644 --- a/specification/_json_spec/slm.put_lifecycle.json +++ b/specification/_json_spec/slm.put_lifecycle.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/slm.start.json b/specification/_json_spec/slm.start.json index ac9d71c26c..ea70d99fa5 100644 --- a/specification/_json_spec/slm.start.json +++ b/specification/_json_spec/slm.start.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/slm.stop.json b/specification/_json_spec/slm.stop.json index aced77ad30..8db67e091f 100644 --- a/specification/_json_spec/slm.stop.json +++ b/specification/_json_spec/slm.stop.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for processing on master node" }, "timeout": { diff --git a/specification/_json_spec/snapshot.cleanup_repository.json b/specification/_json_spec/snapshot.cleanup_repository.json index b08f750750..6d76cf47c6 100644 --- a/specification/_json_spec/snapshot.cleanup_repository.json +++ b/specification/_json_spec/snapshot.cleanup_repository.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/snapshot.clone.json b/specification/_json_spec/snapshot.clone.json index cc2e813c8a..e21a3b7f9d 100644 --- a/specification/_json_spec/snapshot.clone.json +++ b/specification/_json_spec/snapshot.clone.json @@ -35,6 +35,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" } }, diff --git a/specification/_json_spec/snapshot.create.json b/specification/_json_spec/snapshot.create.json index 409d272a52..3c95ff4906 100644 --- a/specification/_json_spec/snapshot.create.json +++ b/specification/_json_spec/snapshot.create.json @@ -31,6 +31,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "wait_for_completion": { diff --git a/specification/_json_spec/snapshot.create_repository.json b/specification/_json_spec/snapshot.create_repository.json index 54e745920d..0df0f103b4 100644 --- a/specification/_json_spec/snapshot.create_repository.json +++ b/specification/_json_spec/snapshot.create_repository.json @@ -27,6 +27,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/snapshot.delete.json b/specification/_json_spec/snapshot.delete.json index 56203dc76f..cbef649523 100644 --- a/specification/_json_spec/snapshot.delete.json +++ b/specification/_json_spec/snapshot.delete.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "wait_for_completion": { diff --git a/specification/_json_spec/snapshot.delete_repository.json b/specification/_json_spec/snapshot.delete_repository.json index 1a13fc940f..87178d5eca 100644 --- a/specification/_json_spec/snapshot.delete_repository.json +++ b/specification/_json_spec/snapshot.delete_repository.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/snapshot.get.json b/specification/_json_spec/snapshot.get.json index c92022620c..cc6efd0ee9 100644 --- a/specification/_json_spec/snapshot.get.json +++ b/specification/_json_spec/snapshot.get.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "ignore_unavailable": { diff --git a/specification/_json_spec/snapshot.get_repository.json b/specification/_json_spec/snapshot.get_repository.json index 987763b026..a41c0f6fce 100644 --- a/specification/_json_spec/snapshot.get_repository.json +++ b/specification/_json_spec/snapshot.get_repository.json @@ -30,6 +30,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "local": { diff --git a/specification/_json_spec/snapshot.restore.json b/specification/_json_spec/snapshot.restore.json index 5445e61c58..12dc674870 100644 --- a/specification/_json_spec/snapshot.restore.json +++ b/specification/_json_spec/snapshot.restore.json @@ -31,6 +31,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "wait_for_completion": { diff --git a/specification/_json_spec/snapshot.status.json b/specification/_json_spec/snapshot.status.json index 8c16520dea..2295d6b682 100644 --- a/specification/_json_spec/snapshot.status.json +++ b/specification/_json_spec/snapshot.status.json @@ -44,6 +44,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "ignore_unavailable": { diff --git a/specification/_json_spec/snapshot.verify_repository.json b/specification/_json_spec/snapshot.verify_repository.json index 6a11bd0060..e301bae8e1 100644 --- a/specification/_json_spec/snapshot.verify_repository.json +++ b/specification/_json_spec/snapshot.verify_repository.json @@ -26,6 +26,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "timeout": { diff --git a/specification/_json_spec/streams.logs_disable.json b/specification/_json_spec/streams.logs_disable.json index 1b540296b1..8ac525142a 100644 --- a/specification/_json_spec/streams.logs_disable.json +++ b/specification/_json_spec/streams.logs_disable.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error." } } diff --git a/specification/_json_spec/streams.logs_enable.json b/specification/_json_spec/streams.logs_enable.json index b6ce3af45f..7438879c65 100644 --- a/specification/_json_spec/streams.logs_enable.json +++ b/specification/_json_spec/streams.logs_enable.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error." } } diff --git a/specification/_json_spec/transform.delete_transform.json b/specification/_json_spec/transform.delete_transform.json index d957b58be4..f5a6b9b2bd 100644 --- a/specification/_json_spec/transform.delete_transform.json +++ b/specification/_json_spec/transform.delete_transform.json @@ -26,17 +26,14 @@ "params": { "force": { "type": "boolean", - "required": false, "description": "When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted." }, "delete_dest_index": { "type": "boolean", - "required": false, "description": "When `true`, the destination index is deleted together with the transform. The default value is `false`, meaning that the destination index will not be deleted." }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the transform deletion" } } diff --git a/specification/_json_spec/transform.get_transform.json b/specification/_json_spec/transform.get_transform.json index eea50f54a3..426c00bf5a 100644 --- a/specification/_json_spec/transform.get_transform.json +++ b/specification/_json_spec/transform.get_transform.json @@ -30,21 +30,17 @@ "params": { "from": { "type": "int", - "required": false, "description": "skips a number of transform configs, defaults to 0" }, "size": { "type": "int", - "required": false, "description": "specifies a max number of transforms to get, defaults to 100" }, "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)" }, "exclude_generated": { - "required": false, "type": "boolean", "default": false, "description": "Omits fields that are illegal to set on transform PUT" diff --git a/specification/_json_spec/transform.get_transform_stats.json b/specification/_json_spec/transform.get_transform_stats.json index 56f32da483..79a5b5e394 100644 --- a/specification/_json_spec/transform.get_transform_stats.json +++ b/specification/_json_spec/transform.get_transform_stats.json @@ -26,22 +26,18 @@ "params": { "from": { "type": "number", - "required": false, "description": "skips a number of transform stats, defaults to 0" }, "size": { "type": "number", - "required": false, "description": "specifies a max number of transform stats to get, defaults to 100" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the stats" }, "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)" } } diff --git a/specification/_json_spec/transform.preview_transform.json b/specification/_json_spec/transform.preview_transform.json index 26a363c781..0a07f98dd3 100644 --- a/specification/_json_spec/transform.preview_transform.json +++ b/specification/_json_spec/transform.preview_transform.json @@ -31,7 +31,6 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the preview" } }, diff --git a/specification/_json_spec/transform.put_transform.json b/specification/_json_spec/transform.put_transform.json index d9fe99fdad..4b43682eca 100644 --- a/specification/_json_spec/transform.put_transform.json +++ b/specification/_json_spec/transform.put_transform.json @@ -27,12 +27,10 @@ "params": { "defer_validation": { "type": "boolean", - "required": false, "description": "If validations should be deferred until transform starts, defaults to false." }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the transform to start" } }, diff --git a/specification/_json_spec/transform.reset_transform.json b/specification/_json_spec/transform.reset_transform.json index e7758b03f0..dd5ce39f98 100644 --- a/specification/_json_spec/transform.reset_transform.json +++ b/specification/_json_spec/transform.reset_transform.json @@ -26,12 +26,10 @@ "params": { "force": { "type": "boolean", - "required": false, "description": "When `true`, the transform is reset regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be reset." }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the transform to reset" } } diff --git a/specification/_json_spec/transform.schedule_now_transform.json b/specification/_json_spec/transform.schedule_now_transform.json index eb5122af1a..897419bdc8 100644 --- a/specification/_json_spec/transform.schedule_now_transform.json +++ b/specification/_json_spec/transform.schedule_now_transform.json @@ -28,7 +28,6 @@ "params": { "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the scheduling to take place" } } diff --git a/specification/_json_spec/transform.start_transform.json b/specification/_json_spec/transform.start_transform.json index 275d8b9b5c..c76df245f0 100644 --- a/specification/_json_spec/transform.start_transform.json +++ b/specification/_json_spec/transform.start_transform.json @@ -26,12 +26,10 @@ "params": { "from": { "type": "string", - "required": false, "description": "Restricts the set of transformed entities to those changed after this time" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the transform to start" } } diff --git a/specification/_json_spec/transform.stop_transform.json b/specification/_json_spec/transform.stop_transform.json index 1475509843..e481dfa885 100644 --- a/specification/_json_spec/transform.stop_transform.json +++ b/specification/_json_spec/transform.stop_transform.json @@ -26,27 +26,22 @@ "params": { "force": { "type": "boolean", - "required": false, "description": "Whether to force stop a failed transform or not. Default to false" }, "wait_for_completion": { "type": "boolean", - "required": false, "description": "Whether to wait for the transform to fully stop before returning or not. Default to false" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait until the transform has stopped. Default to 30 seconds" }, "allow_no_match": { "type": "boolean", - "required": false, "description": "Whether to ignore if a wildcard expression matches no transforms. (This includes `_all` string or when no transforms have been specified)" }, "wait_for_checkpoint": { "type": "boolean", - "required": false, "description": "Whether to wait for the transform to reach a checkpoint before stopping. Default to false" } } diff --git a/specification/_json_spec/transform.update_transform.json b/specification/_json_spec/transform.update_transform.json index c0ac11dc0c..116678f135 100644 --- a/specification/_json_spec/transform.update_transform.json +++ b/specification/_json_spec/transform.update_transform.json @@ -28,12 +28,10 @@ "params": { "defer_validation": { "type": "boolean", - "required": false, "description": "If validations should be deferred until transform starts, defaults to false." }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the update" } }, diff --git a/specification/_json_spec/transform.upgrade_transforms.json b/specification/_json_spec/transform.upgrade_transforms.json index 1d4c052e81..4b4079c948 100644 --- a/specification/_json_spec/transform.upgrade_transforms.json +++ b/specification/_json_spec/transform.upgrade_transforms.json @@ -21,12 +21,10 @@ "params": { "dry_run": { "type": "boolean", - "required": false, "description": "Whether to only check for updates but don't execute" }, "timeout": { "type": "time", - "required": false, "description": "Controls the time to wait for the upgrade" } } diff --git a/specification/_json_spec/watcher.execute_watch.json b/specification/_json_spec/watcher.execute_watch.json index 1941e64b1a..b263571f35 100644 --- a/specification/_json_spec/watcher.execute_watch.json +++ b/specification/_json_spec/watcher.execute_watch.json @@ -31,8 +31,7 @@ "params": { "debug": { "type": "boolean", - "description": "indicates whether the watch should execute in debug mode", - "required": false + "description": "indicates whether the watch should execute in debug mode" } }, "body": { diff --git a/specification/_json_spec/watcher.get_settings.json b/specification/_json_spec/watcher.get_settings.json index b24526ad19..b58256274f 100644 --- a/specification/_json_spec/watcher.get_settings.json +++ b/specification/_json_spec/watcher.get_settings.json @@ -21,6 +21,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/watcher.start.json b/specification/_json_spec/watcher.start.json index 951ae7290c..84330ae127 100644 --- a/specification/_json_spec/watcher.start.json +++ b/specification/_json_spec/watcher.start.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/watcher.stats.json b/specification/_json_spec/watcher.stats.json index fe9b7f009f..2d706cb715 100644 --- a/specification/_json_spec/watcher.stats.json +++ b/specification/_json_spec/watcher.stats.json @@ -46,8 +46,7 @@ }, "emit_stacktraces": { "type": "boolean", - "description": "Emits stack traces of currently running watches", - "required": false + "description": "Emits stack traces of currently running watches" } } } diff --git a/specification/_json_spec/watcher.stop.json b/specification/_json_spec/watcher.stop.json index 7ef3cbf704..f407f5502b 100644 --- a/specification/_json_spec/watcher.stop.json +++ b/specification/_json_spec/watcher.stop.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } } diff --git a/specification/_json_spec/watcher.update_settings.json b/specification/_json_spec/watcher.update_settings.json index e58dbd68d7..6db8928183 100644 --- a/specification/_json_spec/watcher.update_settings.json +++ b/specification/_json_spec/watcher.update_settings.json @@ -25,6 +25,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for connection to master" } }, diff --git a/specification/_json_spec/xpack.info.json b/specification/_json_spec/xpack.info.json index 7fe23990d7..8e8df4c605 100644 --- a/specification/_json_spec/xpack.info.json +++ b/specification/_json_spec/xpack.info.json @@ -20,7 +20,6 @@ "params": { "human": { "type": "boolean", - "required": false, "description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line. The default value is true.", "default": true }, diff --git a/specification/_json_spec/xpack.usage.json b/specification/_json_spec/xpack.usage.json index b212660925..c96b2b60c2 100644 --- a/specification/_json_spec/xpack.usage.json +++ b/specification/_json_spec/xpack.usage.json @@ -20,6 +20,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Specify timeout for watch write operation" } }