From 45a5ff5cd051379e1b9c935a7383bb8f3eec8e81 Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Thu, 18 Sep 2025 07:01:43 +0000 Subject: [PATCH] Update rest-api-spec --- .../_json_spec/_internal.delete_desired_balance.json | 1 + .../_json_spec/_internal.delete_desired_nodes.json | 1 + .../_json_spec/_internal.get_desired_balance.json | 1 + .../_internal.prevalidate_node_removal.json | 1 + .../autoscaling.delete_autoscaling_policy.json | 1 + .../autoscaling.get_autoscaling_capacity.json | 1 + .../autoscaling.get_autoscaling_policy.json | 1 + .../autoscaling.put_autoscaling_policy.json | 1 + specification/_json_spec/cat.aliases.json | 4 ++-- specification/_json_spec/cat.allocation.json | 1 + .../_json_spec/cat.component_templates.json | 1 + specification/_json_spec/cat.indices.json | 1 + specification/_json_spec/cat.master.json | 1 + .../_json_spec/cat.ml_data_frame_analytics.json | 1 - specification/_json_spec/cat.ml_datafeeds.json | 1 - specification/_json_spec/cat.ml_jobs.json | 1 - specification/_json_spec/cat.ml_trained_models.json | 1 - specification/_json_spec/cat.nodeattrs.json | 1 + specification/_json_spec/cat.nodes.json | 1 + specification/_json_spec/cat.pending_tasks.json | 1 + specification/_json_spec/cat.plugins.json | 1 + specification/_json_spec/cat.repositories.json | 1 + specification/_json_spec/cat.segments.json | 1 + specification/_json_spec/cat.shards.json | 1 + specification/_json_spec/cat.snapshots.json | 1 + specification/_json_spec/cat.templates.json | 1 + specification/_json_spec/cat.thread_pool.json | 1 + specification/_json_spec/cat.transforms.json | 3 --- .../_json_spec/ccr.delete_auto_follow_pattern.json | 1 + specification/_json_spec/ccr.follow.json | 1 + specification/_json_spec/ccr.follow_info.json | 1 + .../_json_spec/ccr.get_auto_follow_pattern.json | 1 + .../_json_spec/ccr.pause_auto_follow_pattern.json | 1 + specification/_json_spec/ccr.pause_follow.json | 1 + .../_json_spec/ccr.put_auto_follow_pattern.json | 1 + .../_json_spec/ccr.resume_auto_follow_pattern.json | 1 + specification/_json_spec/ccr.resume_follow.json | 1 + specification/_json_spec/ccr.stats.json | 1 + specification/_json_spec/ccr.unfollow.json | 1 + .../_json_spec/cluster.allocation_explain.json | 1 + .../cluster.delete_component_template.json | 1 + .../cluster.delete_voting_config_exclusions.json | 4 ++-- .../cluster.exists_component_template.json | 1 + .../_json_spec/cluster.get_component_template.json | 1 + specification/_json_spec/cluster.get_settings.json | 1 + specification/_json_spec/cluster.health.json | 1 + specification/_json_spec/cluster.pending_tasks.json | 1 + .../cluster.post_voting_config_exclusions.json | 4 ++-- .../_json_spec/cluster.put_component_template.json | 1 + specification/_json_spec/cluster.put_settings.json | 1 + specification/_json_spec/cluster.reroute.json | 1 + specification/_json_spec/cluster.state.json | 1 + .../dangling_indices.delete_dangling_index.json | 1 + .../dangling_indices.import_dangling_index.json | 1 + specification/_json_spec/delete_script.json | 1 + specification/_json_spec/enrich.delete_policy.json | 1 + specification/_json_spec/enrich.execute_policy.json | 1 + specification/_json_spec/enrich.get_policy.json | 1 + specification/_json_spec/enrich.put_policy.json | 1 + specification/_json_spec/enrich.stats.json | 1 + specification/_json_spec/features.get_features.json | 1 + .../_json_spec/features.reset_features.json | 1 + specification/_json_spec/get_script.json | 1 + specification/_json_spec/ilm.delete_lifecycle.json | 1 + specification/_json_spec/ilm.explain_lifecycle.json | 1 + specification/_json_spec/ilm.get_lifecycle.json | 1 + .../_json_spec/ilm.migrate_to_data_tiers.json | 1 + specification/_json_spec/ilm.put_lifecycle.json | 1 + specification/_json_spec/ilm.start.json | 1 + specification/_json_spec/ilm.stop.json | 1 + specification/_json_spec/indices.add_block.json | 1 + specification/_json_spec/indices.clone.json | 1 + specification/_json_spec/indices.close.json | 1 + specification/_json_spec/indices.create.json | 1 + .../_json_spec/indices.create_data_stream.json | 1 + specification/_json_spec/indices.delete.json | 1 + specification/_json_spec/indices.delete_alias.json | 1 + .../_json_spec/indices.delete_data_lifecycle.json | 1 + .../_json_spec/indices.delete_data_stream.json | 1 + .../indices.delete_data_stream_options.json | 1 + .../_json_spec/indices.delete_index_template.json | 1 + .../_json_spec/indices.delete_template.json | 1 + specification/_json_spec/indices.exists_alias.json | 4 ++-- .../_json_spec/indices.exists_index_template.json | 1 + .../_json_spec/indices.exists_template.json | 1 + .../_json_spec/indices.explain_data_lifecycle.json | 1 + specification/_json_spec/indices.get.json | 1 + specification/_json_spec/indices.get_alias.json | 4 ++-- .../_json_spec/indices.get_data_lifecycle.json | 1 + .../_json_spec/indices.get_data_stream.json | 1 + .../_json_spec/indices.get_data_stream_mappings.json | 1 + .../_json_spec/indices.get_data_stream_options.json | 1 + .../_json_spec/indices.get_data_stream_settings.json | 1 + .../_json_spec/indices.get_index_template.json | 1 + specification/_json_spec/indices.get_mapping.json | 1 + specification/_json_spec/indices.get_settings.json | 1 + specification/_json_spec/indices.get_template.json | 1 + .../_json_spec/indices.migrate_to_data_stream.json | 1 + specification/_json_spec/indices.open.json | 1 + .../_json_spec/indices.promote_data_stream.json | 1 + specification/_json_spec/indices.put_alias.json | 1 + .../_json_spec/indices.put_data_lifecycle.json | 1 + .../_json_spec/indices.put_data_stream_mappings.json | 1 + .../_json_spec/indices.put_data_stream_options.json | 1 + .../_json_spec/indices.put_data_stream_settings.json | 1 + .../_json_spec/indices.put_index_template.json | 1 + specification/_json_spec/indices.put_mapping.json | 1 + specification/_json_spec/indices.put_settings.json | 1 + specification/_json_spec/indices.put_template.json | 1 + specification/_json_spec/indices.remove_block.json | 1 + specification/_json_spec/indices.rollover.json | 1 + specification/_json_spec/indices.shrink.json | 1 + .../_json_spec/indices.simulate_index_template.json | 1 + .../_json_spec/indices.simulate_template.json | 1 + specification/_json_spec/indices.split.json | 1 + specification/_json_spec/indices.update_aliases.json | 1 + specification/_json_spec/inference.delete.json | 6 ++---- .../_json_spec/ingest.delete_geoip_database.json | 1 + .../ingest.delete_ip_location_database.json | 1 + specification/_json_spec/ingest.delete_pipeline.json | 1 + specification/_json_spec/ingest.get_pipeline.json | 1 + .../_json_spec/ingest.put_geoip_database.json | 1 + .../_json_spec/ingest.put_ip_location_database.json | 1 + specification/_json_spec/ingest.put_pipeline.json | 1 + specification/_json_spec/license.delete.json | 1 + specification/_json_spec/license.post.json | 1 + .../_json_spec/license.post_start_basic.json | 1 + .../_json_spec/license.post_start_trial.json | 1 + specification/_json_spec/ml.close_job.json | 2 -- specification/_json_spec/ml.delete_datafeed.json | 1 - specification/_json_spec/ml.delete_expired_data.json | 2 -- specification/_json_spec/ml.delete_forecast.json | 2 -- .../_json_spec/ml.delete_trained_model.json | 2 -- specification/_json_spec/ml.forecast.json | 3 --- .../_json_spec/ml.get_data_frame_analytics.json | 2 -- .../ml.get_data_frame_analytics_stats.json | 2 -- specification/_json_spec/ml.get_datafeed_stats.json | 1 - specification/_json_spec/ml.get_datafeeds.json | 2 -- specification/_json_spec/ml.get_job_stats.json | 1 - specification/_json_spec/ml.get_jobs.json | 2 -- specification/_json_spec/ml.get_memory_stats.json | 1 + .../ml.get_model_snapshot_upgrade_stats.json | 1 - specification/_json_spec/ml.get_trained_models.json | 7 ------- .../_json_spec/ml.get_trained_models_stats.json | 1 - specification/_json_spec/ml.infer_trained_model.json | 1 - specification/_json_spec/ml.preview_datafeed.json | 2 -- specification/_json_spec/ml.put_trained_model.json | 2 -- .../_json_spec/ml.start_data_frame_analytics.json | 1 - specification/_json_spec/ml.start_datafeed.json | 3 --- .../ml.start_trained_model_deployment.json | 12 ++---------- .../_json_spec/ml.stop_data_frame_analytics.json | 3 --- specification/_json_spec/ml.stop_datafeed.json | 3 --- .../_json_spec/ml.stop_trained_model_deployment.json | 2 -- .../ml.update_trained_model_deployment.json | 1 - .../_json_spec/ml.upgrade_job_snapshot.json | 2 -- specification/_json_spec/profiling.status.json | 1 + specification/_json_spec/put_script.json | 1 + specification/_json_spec/rollup.stop_job.json | 2 -- specification/_json_spec/search_shards.json | 1 + .../_json_spec/searchable_snapshots.mount.json | 1 + .../_json_spec/security.clear_cached_realms.json | 3 +-- specification/_json_spec/security.get_settings.json | 1 + .../_json_spec/security.update_settings.json | 1 + specification/_json_spec/shutdown.delete_node.json | 1 + specification/_json_spec/shutdown.get_node.json | 1 + specification/_json_spec/shutdown.put_node.json | 1 + specification/_json_spec/slm.delete_lifecycle.json | 1 + specification/_json_spec/slm.execute_lifecycle.json | 1 + specification/_json_spec/slm.execute_retention.json | 1 + specification/_json_spec/slm.get_lifecycle.json | 1 + specification/_json_spec/slm.get_stats.json | 1 + specification/_json_spec/slm.get_status.json | 1 + specification/_json_spec/slm.put_lifecycle.json | 1 + specification/_json_spec/slm.start.json | 1 + specification/_json_spec/slm.stop.json | 1 + .../_json_spec/snapshot.cleanup_repository.json | 1 + specification/_json_spec/snapshot.clone.json | 1 + specification/_json_spec/snapshot.create.json | 1 + .../_json_spec/snapshot.create_repository.json | 1 + specification/_json_spec/snapshot.delete.json | 1 + .../_json_spec/snapshot.delete_repository.json | 1 + specification/_json_spec/snapshot.get.json | 1 + .../_json_spec/snapshot.get_repository.json | 1 + specification/_json_spec/snapshot.restore.json | 1 + specification/_json_spec/snapshot.status.json | 1 + .../_json_spec/snapshot.verify_repository.json | 1 + specification/_json_spec/streams.logs_disable.json | 1 + specification/_json_spec/streams.logs_enable.json | 1 + .../_json_spec/transform.delete_transform.json | 3 --- .../_json_spec/transform.get_transform.json | 4 ---- .../_json_spec/transform.get_transform_stats.json | 4 ---- .../_json_spec/transform.preview_transform.json | 1 - .../_json_spec/transform.put_transform.json | 2 -- .../_json_spec/transform.reset_transform.json | 2 -- .../_json_spec/transform.schedule_now_transform.json | 1 - .../_json_spec/transform.start_transform.json | 2 -- .../_json_spec/transform.stop_transform.json | 5 ----- .../_json_spec/transform.update_transform.json | 2 -- .../_json_spec/transform.upgrade_transforms.json | 2 -- specification/_json_spec/watcher.execute_watch.json | 3 +-- specification/_json_spec/watcher.get_settings.json | 1 + specification/_json_spec/watcher.start.json | 1 + specification/_json_spec/watcher.stats.json | 3 +-- specification/_json_spec/watcher.stop.json | 1 + .../_json_spec/watcher.update_settings.json | 1 + specification/_json_spec/xpack.info.json | 1 - specification/_json_spec/xpack.usage.json | 1 + 207 files changed, 171 insertions(+), 119 deletions(-) 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 ab137105a1..d2ae7a2f6c 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 e90a60277c..0d6844476b 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 9e23ed7a19..b3380cc855 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 f121a0bd68..ddf8844284 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 f44d577e3b..e69f2abc0e 100644 --- a/specification/_json_spec/cat.aliases.json +++ b/specification/_json_spec/cat.aliases.json @@ -59,8 +59,8 @@ }, "master_timeout": { "type": "time", - "description": "Timeout for waiting for new cluster state in case it is blocked", - "default": "30s" + "default": "30s", + "description": "Timeout for waiting for new cluster state in case it is blocked" } } } diff --git a/specification/_json_spec/cat.allocation.json b/specification/_json_spec/cat.allocation.json index bb8420de8a..b8a5f1da01 100644 --- a/specification/_json_spec/cat.allocation.json +++ b/specification/_json_spec/cat.allocation.json @@ -44,6 +44,7 @@ }, "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 1a53c26bab..d55bce0775 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": { diff --git a/specification/_json_spec/cat.indices.json b/specification/_json_spec/cat.indices.json index aa849dc1ea..9cb526b086 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 33a3f98a46..2fa72a5201 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": { diff --git a/specification/_json_spec/cat.ml_data_frame_analytics.json b/specification/_json_spec/cat.ml_data_frame_analytics.json index f22e037b72..c184e31fa8 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 0099e50a72..72e0edd2ff 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": { diff --git a/specification/_json_spec/cat.ml_jobs.json b/specification/_json_spec/cat.ml_jobs.json index 4f097c20f8..304979056f 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 34b25ba2e9..f6a7396972 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 79be8801ef..88760181fa 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": { diff --git a/specification/_json_spec/cat.nodes.json b/specification/_json_spec/cat.nodes.json index aa49f8cfa3..b297f8ea8f 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 1db0c59593..4b1df07146 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": { diff --git a/specification/_json_spec/cat.plugins.json b/specification/_json_spec/cat.plugins.json index 7336f9d10c..b854e3827b 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": { diff --git a/specification/_json_spec/cat.repositories.json b/specification/_json_spec/cat.repositories.json index e45483b701..351ad25d5c 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": { diff --git a/specification/_json_spec/cat.segments.json b/specification/_json_spec/cat.segments.json index e3d3f09b55..d53ca6e160 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": { diff --git a/specification/_json_spec/cat.shards.json b/specification/_json_spec/cat.shards.json index 1d2d8de13c..e753db39f3 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 73e5de45b2..1d81a26025 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": { diff --git a/specification/_json_spec/cat.templates.json b/specification/_json_spec/cat.templates.json index 9592cc6379..a581fe3070 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": { diff --git a/specification/_json_spec/cat.thread_pool.json b/specification/_json_spec/cat.thread_pool.json index 0a0fb2fde0..e5cb025867 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": { diff --git a/specification/_json_spec/cat.transforms.json b/specification/_json_spec/cat.transforms.json index 6ad5442463..ef1f631fae 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": { diff --git a/specification/_json_spec/ccr.delete_auto_follow_pattern.json b/specification/_json_spec/ccr.delete_auto_follow_pattern.json index 8dda34ec9d..3de651d098 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 c1db76f7e5..6d0bb46e2d 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 cda715a166..dcff396a56 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 ccb09070f6..8fcdec0433 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 1deffa7cf6..91f14ead8f 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 3f83512ae2..083a95dcfb 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 2f8654b2f2..e5b74db6ca 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 1dfca73d27..1ad685ae45 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 896f914ad9..5562d25e70 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 3b6f8b4112..51b3ed0ae1 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 54667dc3c1..11d2907e55 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 670f13fb74..1710ecf758 100644 --- a/specification/_json_spec/cluster.allocation_explain.json +++ b/specification/_json_spec/cluster.allocation_explain.json @@ -37,6 +37,7 @@ }, "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 375a834cb6..caefdf48d7 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 ef52e7dbab..582f16658a 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 3c7c82a2e5..c99d5fb16d 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/cluster.get_component_template.json b/specification/_json_spec/cluster.get_component_template.json index 645f064e8f..542a9ee0b5 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/cluster.get_settings.json b/specification/_json_spec/cluster.get_settings.json index 8a19d75e60..2122e854f5 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": "Timeout for waiting for new cluster state in case it is blocked" }, "timeout": { diff --git a/specification/_json_spec/cluster.health.json b/specification/_json_spec/cluster.health.json index 9d9a40a4c0..5872557875 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 5777b9ba8c..d2bf061221 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 aa99da4b42..971a326cfd 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 cbacc81c0b..18b6b39d26 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 6d4203f61b..e17da45c9c 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 e62c472a97..d704870ef3 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 14f76db57e..e36034be2a 100644 --- a/specification/_json_spec/cluster.state.json +++ b/specification/_json_spec/cluster.state.json @@ -69,6 +69,7 @@ }, "master_timeout": { "type": "time", + "default": "30s", "description": "Timeout for waiting for new cluster state in case it is blocked" }, "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 542cd83662..7613cd4906 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 d1a49946e3..dbc5e0e4df 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 59c8b4fd70..74c7da8c78 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 a331209dd8..f83178ac7a 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 65e9031dc6..3c8689d819 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 4e5997c3be..eb32a1b774 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 waiting for new cluster state in case it is blocked" } } diff --git a/specification/_json_spec/enrich.put_policy.json b/specification/_json_spec/enrich.put_policy.json index cef8dfc1df..b87c6968e5 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 6424e6e5ab..d3dc7c68cc 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 waiting for new cluster state in case it is blocked" } } diff --git a/specification/_json_spec/features.get_features.json b/specification/_json_spec/features.get_features.json index 85eaf8a479..7cf84a910d 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 5d4b519bcb..d48ce9da7c 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 c61327e37d..5eeb5eb50c 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 48b8a4e81c..d8844a71fa 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 0dcebd2a4e..51b434ff98 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 ff5ca14803..7187eeaba3 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.migrate_to_data_tiers.json b/specification/_json_spec/ilm.migrate_to_data_tiers.json index 4613002ebc..c6805f21de 100644 --- a/specification/_json_spec/ilm.migrate_to_data_tiers.json +++ b/specification/_json_spec/ilm.migrate_to_data_tiers.json @@ -21,6 +21,7 @@ "params": { "master_timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout for connection to master node" }, "dry_run": { diff --git a/specification/_json_spec/ilm.put_lifecycle.json b/specification/_json_spec/ilm.put_lifecycle.json index 4bdd1942c7..5a47f10821 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 bf1fceb2cb..43d7ec7590 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 ffb3427484..0bf41556f8 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 dfbb82f848..3796e83ee9 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 196995c491..52138eb9db 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 ed1ccbd6a2..290ca9a242 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 4aa518fce6..6bc348b945 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 603268931a..0a1e72bbd2 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 e0746dbf8e..2197c8a6ec 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 279c8133dc..3469778438 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 91a3ba13e0..3cc331f44a 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 fcec9e52c5..84e95876ec 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 11615587b8..3ec19540d1 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 350d6677ff..34534747fb 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 aba74d6be4..095983e895 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_alias.json b/specification/_json_spec/indices.exists_alias.json index 10ff1ee6ed..e92c8f4b6c 100644 --- a/specification/_json_spec/indices.exists_alias.json +++ b/specification/_json_spec/indices.exists_alias.json @@ -54,8 +54,8 @@ }, "master_timeout": { "type": "time", - "description": "Timeout for waiting for new cluster state in case it is blocked", - "default": "30s" + "default": "30s", + "description": "Timeout for waiting for new cluster state in case it is blocked" } } } diff --git a/specification/_json_spec/indices.exists_index_template.json b/specification/_json_spec/indices.exists_index_template.json index cb1088eacb..22f8d89357 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 a03b1c58fe..827582b023 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/indices.explain_data_lifecycle.json b/specification/_json_spec/indices.explain_data_lifecycle.json index 467b42e9cf..cf0aa2a2a5 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 f7c982f536..62e663557a 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_alias.json b/specification/_json_spec/indices.get_alias.json index 6a2982099f..c263cc3f72 100644 --- a/specification/_json_spec/indices.get_alias.json +++ b/specification/_json_spec/indices.get_alias.json @@ -68,8 +68,8 @@ }, "master_timeout": { "type": "time", - "description": "Timeout for waiting for new cluster state in case it is blocked", - "default": "30s" + "default": "30s", + "description": "Timeout for waiting for new cluster state in case it is blocked" } } } diff --git a/specification/_json_spec/indices.get_data_lifecycle.json b/specification/_json_spec/indices.get_data_lifecycle.json index 38c1ecb0df..a067bef879 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 d119620147..6a690bb417 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_mappings.json b/specification/_json_spec/indices.get_data_stream_mappings.json index 3e5404dcb6..a2ab036013 100644 --- a/specification/_json_spec/indices.get_data_stream_mappings.json +++ b/specification/_json_spec/indices.get_data_stream_mappings.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_data_stream_options.json b/specification/_json_spec/indices.get_data_stream_options.json index 0a259cdde7..a94c7e6e3d 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 fe0a5deb83..7a1c25fe7e 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 cd6f748b37..802a48e82e 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/indices.get_mapping.json b/specification/_json_spec/indices.get_mapping.json index da48a33b5a..9d9feb19f9 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/indices.get_settings.json b/specification/_json_spec/indices.get_settings.json index 7abd292450..419b8af685 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 ffde2b851a..796fc63d0b 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": "Timeout for waiting for new cluster state in case it is blocked" }, "local": { diff --git a/specification/_json_spec/indices.migrate_to_data_stream.json b/specification/_json_spec/indices.migrate_to_data_stream.json index 2bab238947..7bf74c9815 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 5d4a11d0b6..b5be892e19 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 af5e889ee7..48b4a1d397 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 4b730b7944..67073c33ef 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 16b0aa703c..7d7255adb2 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_mappings.json b/specification/_json_spec/indices.put_data_stream_mappings.json index b671640883..264736e467 100644 --- a/specification/_json_spec/indices.put_data_stream_mappings.json +++ b/specification/_json_spec/indices.put_data_stream_mappings.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_data_stream_options.json b/specification/_json_spec/indices.put_data_stream_options.json index c281ff870c..c4e93db91d 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 5ca923ee83..aa89992191 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 96f7e48caa..25fbf145cf 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 4059c16c26..e11749392b 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 68144b8c4d..88d0847baa 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 0c31e8e8c1..8caf083184 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.remove_block.json b/specification/_json_spec/indices.remove_block.json index a3b69b7745..20f12e7f0e 100644 --- a/specification/_json_spec/indices.remove_block.json +++ b/specification/_json_spec/indices.remove_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.rollover.json b/specification/_json_spec/indices.rollover.json index 03966b9377..e81972e445 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 f846aacd49..0f14e0d1b2 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 39ccd9d54b..62731ee33e 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 fde68f9f38..a5f043cbb0 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 5a62d98983..3af07f1410 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.update_aliases.json b/specification/_json_spec/indices.update_aliases.json index 36612249ed..4c65242537 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 bb0dd202cf..057aed6cd6 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 938b0bab13..87dc0d0003 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 be1ae314b2..11bf93abe3 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 ddd70143d1..f057bbe673 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 e454bd7ee4..c767ea891a 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 3889946bee..c11993f5fd 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 634cf4c3a8..185af68287 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 0693256469..8135a60fe2 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 b908e987ce..430837870c 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 66e39bfaf1..419f012163 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 b4baa5e5ff..39a22f5e6b 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 fe3580ad1a..91bb6e1b80 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 58afb5e33e..9bb6332b7c 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 8cb78ae238..1cac823610 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 54af79e189..adafb23f16 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 36cd515514..820b370c27 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 b9996c193f..daf0b83ee7 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 82017a1648..ab562e094e 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 c6a5623fe1..56a2544fac 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 5f455a1fab..06f1eca928 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 d96770b94e..f89efe2200 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 b635910d17..dc33d432ff 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 7eba509b7e..f45d9cb9f7 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 0bb11fee46..2ad5df0f9b 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 a3260c8ca0..08e88e89ac 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 559f28ab04..d868fa96e3 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 b37a5df8e2..d48c5054f5 100644 --- a/specification/_json_spec/ml.get_trained_models.json +++ b/specification/_json_spec/ml.get_trained_models.json @@ -30,40 +30,33 @@ "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." }, "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 23542a2d4a..41f5f40180 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 e2ae1f05f9..b3461333c6 100644 --- a/specification/_json_spec/ml.infer_trained_model.json +++ b/specification/_json_spec/ml.infer_trained_model.json @@ -28,7 +28,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 17e3a1efdf..e6f29b9963 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 5807280337..da873e35ee 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 7eb86979ce..51691d753d 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 7da8c4fa19..4d0b07ddf2 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 d072c8462c..b5d4f8a7ec 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 89f262a66e..21d470ec10 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 325a420d4f..80dca45888 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 e2129f0b51..ecc6dc1628 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 f8ccb10079..94476779a1 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 e0463b6e49..afc1b3a1e1 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 4cd841281e..ecc7feadba 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 ec0d5c1af3..c414699da5 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 7f4bab9bf7..d6ff71c665 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 818477d204..64fb277781 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 5b4e06f0b7..98337763c4 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 193b47b6d5..1f46e9f79f 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 72fdf25bdb..bae094e2c8 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 21a1b5ffbb..2a562165e5 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 446f2a370e..82c82632e1 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 fd30ae1c4c..9252c446e2 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 2f651f027e..ccaf6221b3 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 59c58b90c8..9cfb1ae961 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 44a1af3ec9..8221c7a197 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 f9579daff4..bab5b713a4 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 898a3c8e03..6a34108b6d 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 9466510153..daf47b45c4 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 1df0f1f64c..c3d2114251 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 42fcacc306..b134589253 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 d20a46473e..cc7f36635a 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 34d032f469..86bc30373d 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 7bf57eeb8c..5a4a65bb99 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 c80639c221..6c2c7bfbe4 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 1d234c1dda..187b978850 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 edff8bb28d..30de2cfa34 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 b87d3d63f3..aeb6360a03 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 fa07b7bf49..9e3c11f1b2 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 8afb9689a9..670c91cc86 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 e521ac00be..280df5a9d6 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 477317b76d..a1ffc026ab 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 8da0e72cf7..f4b320a680 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 0c8d2ea58a..ac7fade471 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 835264067b..c6f9adbc71 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 604be01f72..83e6b5146f 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 ec2b37e5d3..f624b2f746 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 f9fc20f58f..7e9ca901cc 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 d6af5d6167..ab5baf3fbb 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 fbfaf2935b..77bcb04923 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 c8f85d1edb..a7759fe7fb 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 4917c198e2..768ee7c0d1 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 88a48f0bd6..ce427bec73 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 93e902bef4..e53ddd4271 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 f2039a311e..35d4b695e6 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 bb78f18e7c..8e68f9bc41 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 0f681724ec..3e85fb7ad0 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 0d7cf60fc5..034dd70254 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 d9681656c1..b0c379ccf3 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 bccd0cc9ec..f23ac7ccf4 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 777f76b835..b1e11ae4cc 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 48df8238d3..4fe4a77499 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" } }