From 883dfccb3bea667b2294f5572a6a20df95ea1ecd Mon Sep 17 00:00:00 2001 From: pquentin <42327+pquentin@users.noreply.github.com> Date: Tue, 10 Feb 2026 04:49:14 +0000 Subject: [PATCH] Update rest-api-spec --- compiler/package-lock.json | 10 +++++ docs/examples/package-lock.json | 7 ++++ package-lock.json | 30 +++++--------- package.json | 2 +- .../_internal.delete_desired_nodes.json | 1 + .../_internal.get_desired_nodes.json | 7 ++++ .../_internal.prevalidate_node_removal.json | 4 ++ .../_internal.update_desired_nodes.json | 12 +++++- .../_json_spec/async_search.submit.json | 11 +++--- specification/_json_spec/capabilities.json | 14 +++++-- .../_json_spec/cat.circuit_breaker.json | 13 ++++++- specification/_json_spec/cat.count.json | 4 -- .../cluster.get_component_template.json | 2 +- ...cluster.post_voting_config_exclusions.json | 4 +- .../_json_spec/cluster.put_settings.json | 3 +- specification/_json_spec/count.json | 4 -- ...angling_indices.delete_dangling_index.json | 2 + ...angling_indices.import_dangling_index.json | 2 + specification/_json_spec/eql.search.json | 4 -- specification/_json_spec/field_caps.json | 4 -- .../indices.delete_data_lifecycle.json | 1 + .../indices.delete_data_stream_options.json | 1 + .../_json_spec/indices.downsample.json | 6 +-- .../indices.explain_data_lifecycle.json | 1 + .../_json_spec/indices.forcemerge.json | 2 + .../_json_spec/indices.resolve_index.json | 4 -- .../inference.put_alibabacloud.json | 2 +- .../_json_spec/inference.put_azureopenai.json | 2 +- .../_json_spec/inference.put_groq.json | 17 ++++++-- .../_json_spec/inference.put_nvidia.json | 6 +-- .../_json_spec/inference.put_watsonx.json | 7 +++- specification/_json_spec/knn_search.json | 2 +- .../_json_spec/license.post_start_basic.json | 1 + .../_json_spec/license.post_start_trial.json | 2 + ....clear_trained_model_deployment_cache.json | 3 +- specification/_json_spec/ml.get_buckets.json | 2 +- .../_json_spec/ml.get_overall_buckets.json | 2 +- .../_json_spec/ml.infer_trained_model.json | 3 +- specification/_json_spec/ml.open_job.json | 7 ++++ .../ml.start_trained_model_deployment.json | 3 +- .../_json_spec/ml.stop_datafeed.json | 5 +++ .../ml.stop_trained_model_deployment.json | 3 +- specification/_json_spec/monitoring.bulk.json | 5 ++- .../_json_spec/nodes.hot_threads.json | 1 + .../_json_spec/open_point_in_time.json | 6 +-- .../_json_spec/profiling.status.json | 1 + ....json => project.create_many_routing.json} | 6 +-- ...reate.json => project.create_routing.json} | 4 +- ...elete.json => project.delete_routing.json} | 7 ++-- ...any.json => project.get_many_routing.json} | 9 ++--- ...ting.get.json => project.get_routing.json} | 7 ++-- specification/_json_spec/reindex_cancel.json | 35 +++++++++++++++++ specification/_json_spec/reindex_get.json | 39 +++++++++++++++++++ specification/_json_spec/reindex_list.json | 29 ++++++++++++++ .../_json_spec/rollup.rollup_search.json | 1 + specification/_json_spec/search.json | 4 -- specification/_json_spec/search_mvt.json | 4 -- specification/_json_spec/search_template.json | 4 -- specification/_json_spec/sql.query.json | 4 -- .../_json_spec/streams.logs_disable.json | 10 ++++- .../_json_spec/streams.logs_enable.json | 10 ++++- .../transform.get_transform_stats.json | 1 + .../transform.schedule_now_transform.json | 1 - .../transform.update_transform.json | 1 - .../update_by_query_rethrottle.json | 1 - 65 files changed, 284 insertions(+), 128 deletions(-) rename specification/_json_spec/{project_routing.create_many.json => project.create_many_routing.json} (76%) rename specification/_json_spec/{project_routing.create.json => project.create_routing.json} (87%) rename specification/_json_spec/{project_routing.delete.json => project.delete_routing.json} (78%) rename specification/_json_spec/{project_routing.get_many.json => project.get_many_routing.json} (60%) rename specification/_json_spec/{project_routing.get.json => project.get_routing.json} (78%) create mode 100644 specification/_json_spec/reindex_cancel.json create mode 100644 specification/_json_spec/reindex_get.json create mode 100644 specification/_json_spec/reindex_list.json diff --git a/compiler/package-lock.json b/compiler/package-lock.json index 9c9d9a4c3e..4d1cd369c5 100644 --- a/compiler/package-lock.json +++ b/compiler/package-lock.json @@ -553,6 +553,7 @@ "integrity": "sha512-r0bBaXu5Swb05doFYO2kTWHMovJnNVbCsII0fhesM8bNRlLhXIuckley4a2DaD+vOdmm5G+zGkQZAPZsF80+YQ==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "undici-types": "~7.16.0" } @@ -631,6 +632,7 @@ "integrity": "sha512-ZohdsbXadjGBSK0/r+d87X0SBmKzOq4/S5nzK6SBgJspFo9/CUDJ7hjayuze+JK7CZQLDMroqytp7pOcFKTxZA==", "dev": true, "license": "BSD-2-Clause", + "peer": true, "dependencies": { "@typescript-eslint/scope-manager": "4.33.0", "@typescript-eslint/types": "4.33.0", @@ -815,6 +817,7 @@ "integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2357,6 +2360,7 @@ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@babel/code-frame": "7.12.11", "@eslint/eslintrc": "^0.4.3", @@ -2563,6 +2567,7 @@ "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "@rtsao/scc": "^1.1.0", "array-includes": "^3.1.8", @@ -2654,6 +2659,7 @@ "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "eslint-plugin-es": "^3.0.0", "eslint-utils": "^2.0.0", @@ -2745,6 +2751,7 @@ "integrity": "sha512-SftLb1pUG01QYq2A/hGAWfDRXqYD82zE7j7TopDOyNdU+7SvvoXREls/+PRTY17vUXzXnZA/zfnyKgRH6x4JJw==", "dev": true, "license": "ISC", + "peer": true, "engines": { "node": "^10.12.0 || >=12.0.0" }, @@ -2758,6 +2765,7 @@ "integrity": "sha512-Qteup0SqU15kdocexFNAJMvCJEfa2xUKNV4CC1xsVMrIIqEy3SQ/rqyxCWNzfrd3/ldy6HMlD2e0JDVpDg2qIA==", "dev": true, "license": "MIT", + "peer": true, "dependencies": { "array-includes": "^3.1.8", "array.prototype.findlast": "^1.2.5", @@ -5451,6 +5459,7 @@ "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", "dev": true, "license": "MIT", + "peer": true, "bin": { "prettier": "bin-prettier.js" }, @@ -6941,6 +6950,7 @@ "integrity": "sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==", "dev": true, "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" diff --git a/docs/examples/package-lock.json b/docs/examples/package-lock.json index 149ec1aabe..295733e36f 100644 --- a/docs/examples/package-lock.json +++ b/docs/examples/package-lock.json @@ -157,6 +157,7 @@ "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", "license": "Apache-2.0", + "peer": true, "engines": { "node": ">=8.0.0" } @@ -1009,6 +1010,7 @@ "integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==", "hasInstallScript": true, "license": "MIT", + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/core-js" @@ -1778,6 +1780,7 @@ "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", "license": "MIT", + "peer": true, "engines": { "node": ">= 10.16.0" } @@ -1963,6 +1966,7 @@ "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.15.0.tgz", "integrity": "sha512-UczzB+0nnwGotYSgllfARAqWCJ5e/skuV2K/l+Zyck/H6pJIhLXuBnz+6vn2i211o7DtbE78HQtsYEKICHGI+g==", "license": "MIT", + "peer": true, "funding": { "type": "opencollective", "url": "https://opencollective.com/mobx" @@ -2487,6 +2491,7 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.0.tgz", "integrity": "sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==", "license": "MIT", + "peer": true, "engines": { "node": ">=0.10.0" } @@ -2496,6 +2501,7 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.0.tgz", "integrity": "sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==", "license": "MIT", + "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -2842,6 +2848,7 @@ "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.19.tgz", "integrity": "sha512-1v/e3Dl1BknC37cXMhwGomhO8AkYmN41CqyX9xhUDxry1ns3BFQy2lLDRQXJRdVVWB9OHemv/53xaStimvWyuA==", "license": "MIT", + "peer": true, "dependencies": { "@emotion/is-prop-valid": "1.2.2", "@emotion/unitless": "0.8.1", diff --git a/package-lock.json b/package-lock.json index 0a5a000b94..6e6c1ea596 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "version": "overlay", "dependencies": { "@redocly/cli": "^1.34.6", - "bump-cli": "^2.9.10" + "bump-cli": "^2.9.11" } }, "node_modules/@apidevtools/json-schema-ref-parser": { @@ -935,15 +935,6 @@ "node": ">=14" } }, - "node_modules/antlr4": { - "version": "4.13.2", - "resolved": "https://registry.npmjs.org/antlr4/-/antlr4-4.13.2.tgz", - "integrity": "sha512-QiVbZhyy4xAZ17UPEuG3YTOt8ZaoeOR1CvEAqrEsDBsOqINslaB147i9xqljZqoyf5S+EUlGStaj+t22LT9MOg==", - "license": "BSD-3-Clause", - "engines": { - "node": ">=16" - } - }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", @@ -1060,9 +1051,9 @@ "license": "MIT" }, "node_modules/bump-cli": { - "version": "2.9.10", - "resolved": "https://registry.npmjs.org/bump-cli/-/bump-cli-2.9.10.tgz", - "integrity": "sha512-DwDffZS3NfjARfKrIuN5y7U/62/IfPqQziJgjUdS5v2qg5iNFwe+oVqCmoloneKXFh28hF0hgSIK4bLaANxTyg==", + "version": "2.9.11", + "resolved": "https://registry.npmjs.org/bump-cli/-/bump-cli-2.9.11.tgz", + "integrity": "sha512-32R7v8bLmf8Rk+Un5sULzk5O+mEn5PN6vA0fDrKeRmojnFHiS9xAwYGtJlttf9rkicOWPm20h+MQHIAncKQxfQ==", "license": "MIT", "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.7.2", @@ -1076,7 +1067,7 @@ "axios": "^1.7.7", "chalk": "^5.3.0", "debug": "^4.3.7", - "jsonpathly": "^2.0.2", + "jsonpathly": "^3.0.0", "mergician": "^2.0.2", "open": "^10.1.0" }, @@ -2258,13 +2249,12 @@ } }, "node_modules/jsonpathly": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/jsonpathly/-/jsonpathly-2.0.3.tgz", - "integrity": "sha512-eBlSozh2UymGpZ/zBJVwRGEDwiWZePRjIRfo5R663l5mByr3Udri9AO/yJMkpa4/b96qa95n0BuUrLE32tBQpg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/jsonpathly/-/jsonpathly-3.0.0.tgz", + "integrity": "sha512-1MCCdv1BJpniRPyXC8x3ofJJyZ1DpVYZtw4dRJBYNW98q8H21hV55l2bfuOHKuSCBXLXl6fPre9jcBwJxjE+ZA==", "license": "MIT", - "dependencies": { - "antlr4": "^4.13.2", - "fast-deep-equal": "^3.1.3" + "engines": { + "node": ">=18" } }, "node_modules/jsonpointer": { diff --git a/package.json b/package.json index 5a64d02252..382466bf3b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ }, "dependencies": { "@redocly/cli": "^1.34.6", - "bump-cli": "^2.9.10" + "bump-cli": "^2.9.11" }, "version": "overlay" } diff --git a/specification/_json_spec/_internal.delete_desired_nodes.json b/specification/_json_spec/_internal.delete_desired_nodes.json index f1d561d132..c27a1746d6 100644 --- a/specification/_json_spec/_internal.delete_desired_nodes.json +++ b/specification/_json_spec/_internal.delete_desired_nodes.json @@ -25,6 +25,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Timeout for acknowledgements from all nodes" } } diff --git a/specification/_json_spec/_internal.get_desired_nodes.json b/specification/_json_spec/_internal.get_desired_nodes.json index 6b0a03fe8c..35c1e486df 100644 --- a/specification/_json_spec/_internal.get_desired_nodes.json +++ b/specification/_json_spec/_internal.get_desired_nodes.json @@ -16,6 +16,13 @@ "methods": ["GET"] } ] + }, + "params": { + "master_timeout": { + "type": "time", + "description": "Period to wait for a connection to the master node.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/_internal.prevalidate_node_removal.json b/specification/_json_spec/_internal.prevalidate_node_removal.json index 9320c6508e..362911be97 100644 --- a/specification/_json_spec/_internal.prevalidate_node_removal.json +++ b/specification/_json_spec/_internal.prevalidate_node_removal.json @@ -20,14 +20,17 @@ "params": { "names": { "type": "list", + "default": [], "description": "A comma-separated list of node names to prevalidate" }, "ids": { "type": "list", + "default": [], "description": "A comma-separated list of node IDs to prevalidate" }, "external_ids": { "type": "list", + "default": [], "description": "A comma-separated list of node external IDs to prevalidate" }, "master_timeout": { @@ -37,6 +40,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout" } } diff --git a/specification/_json_spec/_internal.update_desired_nodes.json b/specification/_json_spec/_internal.update_desired_nodes.json index 72c16720c1..dc7b05182b 100644 --- a/specification/_json_spec/_internal.update_desired_nodes.json +++ b/specification/_json_spec/_internal.update_desired_nodes.json @@ -21,7 +21,7 @@ "description": "the history id" }, "version": { - "type": "int", + "type": "long", "description": "the version number" } } @@ -32,6 +32,16 @@ "dry_run": { "type": "boolean", "description": "Simulate the update" + }, + "master_timeout": { + "type": "time", + "description": "Period to wait for a connection to the master node.", + "default": "30s" + }, + "timeout": { + "type": "time", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "default": "30s" } }, "body": { diff --git a/specification/_json_spec/async_search.submit.json b/specification/_json_spec/async_search.submit.json index 01d17029ea..b1568df3a6 100644 --- a/specification/_json_spec/async_search.submit.json +++ b/specification/_json_spec/async_search.submit.json @@ -60,6 +60,7 @@ }, "analyze_wildcard": { "type": "boolean", + "default": false, "description": "Specify whether wildcard and prefix queries should be analyzed (default: false)" }, "ccs_minimize_roundtrips": { @@ -91,7 +92,8 @@ }, "from": { "type": "int", - "description": "Starting offset (default: 0)" + "default": 0, + "description": "Starting offset" }, "ignore_unavailable": { "type": "boolean", @@ -119,10 +121,6 @@ "type": "string", "description": "Specify the node or shard the operation should be performed on (default: random)" }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." - }, "rest_total_hits_as_int": { "type": "boolean", "description": "Indicates whether hits.total should be rendered as an integer or an object in the rest search response", @@ -143,7 +141,8 @@ }, "size": { "type": "int", - "description": "Number of hits to return (default: 10)" + "default": 10, + "description": "Number of hits to return" }, "sort": { "type": "list", diff --git a/specification/_json_spec/capabilities.json b/specification/_json_spec/capabilities.json index 0b22df0a75..5d0eae5a9d 100644 --- a/specification/_json_spec/capabilities.json +++ b/specification/_json_spec/capabilities.json @@ -26,20 +26,28 @@ }, "path": { "type": "string", + "default": "/", "description": "API path to check" }, "parameters": { - "type": "string", + "type": "list", + "default": [], "description": "Comma-separated list of API parameters to check" }, "capabilities": { - "type": "string", + "type": "list", + "default": [], "description": "Comma-separated list of arbitrary API capabilities to check" }, "local_only": { "type": "boolean", "description": "True if only the node being called should be considered", - "visibility": "private" + "default": false + }, + "timeout": { + "type": "time", + "description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.", + "default": "30s" } } } diff --git a/specification/_json_spec/cat.circuit_breaker.json b/specification/_json_spec/cat.circuit_breaker.json index 1d6195849c..98d00b206b 100644 --- a/specification/_json_spec/cat.circuit_breaker.json +++ b/specification/_json_spec/cat.circuit_breaker.json @@ -50,7 +50,18 @@ }, "h": { "type": "list", - "description": "Comma-separated list of column names to display" + "description": "Comma-separated list of column names to display", + "options": [ + "breaker", + "estimated", + "estimated_bytes", + "limit", + "limit_bytes", + "node_id", + "node_name", + "overhead", + "tripped" + ] }, "help": { "type": "boolean", diff --git a/specification/_json_spec/cat.count.json b/specification/_json_spec/cat.count.json index c53a8ad128..34908c5d5a 100644 --- a/specification/_json_spec/cat.count.json +++ b/specification/_json_spec/cat.count.json @@ -43,10 +43,6 @@ "description": "Return help information", "default": false }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." - }, "s": { "type": "list", "description": "Comma-separated list of column names or column aliases to sort by" diff --git a/specification/_json_spec/cluster.get_component_template.json b/specification/_json_spec/cluster.get_component_template.json index 963fa6a82e..e43cfd8071 100644 --- a/specification/_json_spec/cluster.get_component_template.json +++ b/specification/_json_spec/cluster.get_component_template.json @@ -53,7 +53,7 @@ "description": "Return settings in flat format (default: false)" }, "settings_filter": { - "type": "string", + "type": "list", "description": "Filter out results, for example to filter out sensitive information. Supports wildcards or full settings keys" } } diff --git a/specification/_json_spec/cluster.post_voting_config_exclusions.json b/specification/_json_spec/cluster.post_voting_config_exclusions.json index 971a326cfd..a38ca446f3 100644 --- a/specification/_json_spec/cluster.post_voting_config_exclusions.json +++ b/specification/_json_spec/cluster.post_voting_config_exclusions.json @@ -19,11 +19,11 @@ }, "params": { "node_ids": { - "type": "string", + "type": "list", "description": "A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_names." }, "node_names": { - "type": "string", + "type": "list", "description": "A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify ?node_ids." }, "timeout": { diff --git a/specification/_json_spec/cluster.put_settings.json b/specification/_json_spec/cluster.put_settings.json index 69246ee29c..9e71a40a46 100644 --- a/specification/_json_spec/cluster.put_settings.json +++ b/specification/_json_spec/cluster.put_settings.json @@ -21,7 +21,8 @@ "params": { "flat_settings": { "type": "boolean", - "description": "Return settings in flat format (default: false)" + "default": false, + "description": "Return settings in flat format" }, "master_timeout": { "type": "time", diff --git a/specification/_json_spec/count.json b/specification/_json_spec/count.json index 945c99b321..e6d3499cf8 100644 --- a/specification/_json_spec/count.json +++ b/specification/_json_spec/count.json @@ -62,10 +62,6 @@ "type": "string", "description": "Specify the node or shard the operation should be performed on (default: random)" }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." - }, "routing": { "type": "list", "description": "A comma-separated list of specific routing values" diff --git a/specification/_json_spec/dangling_indices.delete_dangling_index.json b/specification/_json_spec/dangling_indices.delete_dangling_index.json index 7613cd4906..2ca57ef040 100644 --- a/specification/_json_spec/dangling_indices.delete_dangling_index.json +++ b/specification/_json_spec/dangling_indices.delete_dangling_index.json @@ -26,10 +26,12 @@ "params": { "accept_data_loss": { "type": "boolean", + "default": false, "description": "Must be set to true in order to delete the dangling index" }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout" }, "master_timeout": { diff --git a/specification/_json_spec/dangling_indices.import_dangling_index.json b/specification/_json_spec/dangling_indices.import_dangling_index.json index dbc5e0e4df..1b98d58068 100644 --- a/specification/_json_spec/dangling_indices.import_dangling_index.json +++ b/specification/_json_spec/dangling_indices.import_dangling_index.json @@ -26,10 +26,12 @@ "params": { "accept_data_loss": { "type": "boolean", + "default": false, "description": "Must be set to true in order to import the dangling index" }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout" }, "master_timeout": { diff --git a/specification/_json_spec/eql.search.json b/specification/_json_spec/eql.search.json index c6951861cb..a83b4548d2 100644 --- a/specification/_json_spec/eql.search.json +++ b/specification/_json_spec/eql.search.json @@ -69,10 +69,6 @@ "options": ["open", "closed", "hidden", "none", "all"], "default": "open", "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } }, "body": { diff --git a/specification/_json_spec/field_caps.json b/specification/_json_spec/field_caps.json index 5d32a41f50..32df0c69e6 100644 --- a/specification/_json_spec/field_caps.json +++ b/specification/_json_spec/field_caps.json @@ -66,10 +66,6 @@ "type": "boolean", "default": true, "description": "Include empty fields in result" - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } }, "body": { diff --git a/specification/_json_spec/indices.delete_data_lifecycle.json b/specification/_json_spec/indices.delete_data_lifecycle.json index 83242af1f5..c8488efe64 100644 --- a/specification/_json_spec/indices.delete_data_lifecycle.json +++ b/specification/_json_spec/indices.delete_data_lifecycle.json @@ -32,6 +32,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit timestamp for the document" }, "master_timeout": { diff --git a/specification/_json_spec/indices.delete_data_stream_options.json b/specification/_json_spec/indices.delete_data_stream_options.json index 604e67f2a7..87c5d4c075 100644 --- a/specification/_json_spec/indices.delete_data_stream_options.json +++ b/specification/_json_spec/indices.delete_data_stream_options.json @@ -32,6 +32,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit timestamp for the document" }, "master_timeout": { diff --git a/specification/_json_spec/indices.downsample.json b/specification/_json_spec/indices.downsample.json index c5de52f532..1652b1bd38 100644 --- a/specification/_json_spec/indices.downsample.json +++ b/specification/_json_spec/indices.downsample.json @@ -18,13 +18,11 @@ "parts": { "index": { "type": "string", - "description": "The index to downsample", - "required": true + "description": "The index to downsample" }, "target_index": { "type": "string", - "description": "The name of the target index to store downsampled data", - "required": true + "description": "The name of the target index to store downsampled data" } } } diff --git a/specification/_json_spec/indices.explain_data_lifecycle.json b/specification/_json_spec/indices.explain_data_lifecycle.json index 3f84a3335d..ad1b18eebd 100644 --- a/specification/_json_spec/indices.explain_data_lifecycle.json +++ b/specification/_json_spec/indices.explain_data_lifecycle.json @@ -26,6 +26,7 @@ "params": { "include_defaults": { "type": "boolean", + "default": false, "description": "indicates if the API should return the default values the system uses for the index's lifecycle" }, "master_timeout": { diff --git a/specification/_json_spec/indices.forcemerge.json b/specification/_json_spec/indices.forcemerge.json index 152f7f19bd..56cec6498a 100644 --- a/specification/_json_spec/indices.forcemerge.json +++ b/specification/_json_spec/indices.forcemerge.json @@ -30,6 +30,7 @@ "params": { "flush": { "type": "boolean", + "default": true, "description": "Specify whether the index should be flushed after performing the operation (default: true)" }, "ignore_unavailable": { @@ -52,6 +53,7 @@ }, "only_expunge_deletes": { "type": "boolean", + "default": false, "description": "Specify whether the operation should only expunge deleted documents" }, "wait_for_completion": { diff --git a/specification/_json_spec/indices.resolve_index.json b/specification/_json_spec/indices.resolve_index.json index 69c536ba46..2ce2e23560 100644 --- a/specification/_json_spec/indices.resolve_index.json +++ b/specification/_json_spec/indices.resolve_index.json @@ -44,10 +44,6 @@ "type": "list", "options": ["standard", "time_series", "logsdb", "lookup"], "description": "Filter indices by index mode. Comma-separated list of IndexMode. Empty means no filter." - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } } } diff --git a/specification/_json_spec/inference.put_alibabacloud.json b/specification/_json_spec/inference.put_alibabacloud.json index 781a38a358..c56653813c 100644 --- a/specification/_json_spec/inference.put_alibabacloud.json +++ b/specification/_json_spec/inference.put_alibabacloud.json @@ -22,7 +22,7 @@ "options": [ "completion", "rerank", - "space_embedding", + "sparse_embedding", "text_embedding" ] }, diff --git a/specification/_json_spec/inference.put_azureopenai.json b/specification/_json_spec/inference.put_azureopenai.json index 0984aba48c..e87f01db7b 100644 --- a/specification/_json_spec/inference.put_azureopenai.json +++ b/specification/_json_spec/inference.put_azureopenai.json @@ -19,7 +19,7 @@ "task_type": { "type": "enum", "description": "The task type", - "options": ["chat_completion", "completion", "text_embedding"] + "options": ["completion", "chat_completion", "text_embedding"] }, "azureopenai_inference_id": { "type": "string", diff --git a/specification/_json_spec/inference.put_groq.json b/specification/_json_spec/inference.put_groq.json index 230aeed141..acb2b105a5 100644 --- a/specification/_json_spec/inference.put_groq.json +++ b/specification/_json_spec/inference.put_groq.json @@ -2,7 +2,7 @@ "inference.put_groq": { "documentation": { "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-groq", - "description": "Configure a Groq inference endpoint" + "description": "Create a Groq inference endpoint" }, "stability": "stable", "visibility": "public", @@ -17,8 +17,9 @@ "methods": ["PUT"], "parts": { "task_type": { - "type": "string", - "description": "The task type" + "type": "enum", + "description": "The task type", + "options": ["chat_completion"] }, "groq_inference_id": { "type": "string", @@ -29,7 +30,15 @@ ] }, "body": { - "description": "The inference endpoint's task and service settings" + "description": "The inference endpoint's task and service settings", + "required": true + }, + "params": { + "timeout": { + "type": "time", + "description": "Specifies the amount of time to wait for the inference endpoint to be created.", + "default": "30s" + } } } } diff --git a/specification/_json_spec/inference.put_nvidia.json b/specification/_json_spec/inference.put_nvidia.json index 528884707e..0001c99623 100644 --- a/specification/_json_spec/inference.put_nvidia.json +++ b/specification/_json_spec/inference.put_nvidia.json @@ -20,10 +20,10 @@ "type": "enum", "description": "The task type", "options": [ - "chat_completion", - "completion", "rerank", - "text_embedding" + "text_embedding", + "completion", + "chat_completion" ] }, "nvidia_inference_id": { diff --git a/specification/_json_spec/inference.put_watsonx.json b/specification/_json_spec/inference.put_watsonx.json index d08dc87c58..6c82900be5 100644 --- a/specification/_json_spec/inference.put_watsonx.json +++ b/specification/_json_spec/inference.put_watsonx.json @@ -19,7 +19,12 @@ "task_type": { "type": "enum", "description": "The task type", - "options": ["text_embedding", "chat_completion", "completion"] + "options": [ + "text_embedding", + "chat_completion", + "completion", + "rerank" + ] }, "watsonx_inference_id": { "type": "string", diff --git a/specification/_json_spec/knn_search.json b/specification/_json_spec/knn_search.json index 7c2cb30773..69437ce035 100644 --- a/specification/_json_spec/knn_search.json +++ b/specification/_json_spec/knn_search.json @@ -9,7 +9,7 @@ "version": "8.4.0", "description": "The kNN search API has been replaced by the `knn` option in the search API." }, - "visibility": "public", + "visibility": "private", "headers": { "accept": ["application/json"], "content_type": ["application/json"] diff --git a/specification/_json_spec/license.post_start_basic.json b/specification/_json_spec/license.post_start_basic.json index 6e7bc37e01..17d08aa7af 100644 --- a/specification/_json_spec/license.post_start_basic.json +++ b/specification/_json_spec/license.post_start_basic.json @@ -20,6 +20,7 @@ "params": { "acknowledge": { "type": "boolean", + "default": false, "description": "whether the user has acknowledged acknowledge messages (default: false)" }, "master_timeout": { diff --git a/specification/_json_spec/license.post_start_trial.json b/specification/_json_spec/license.post_start_trial.json index 91bb6e1b80..6be5cd5c69 100644 --- a/specification/_json_spec/license.post_start_trial.json +++ b/specification/_json_spec/license.post_start_trial.json @@ -20,10 +20,12 @@ "params": { "type": { "type": "string", + "default": "trial", "description": "The type of trial license to generate (default: \"trial\")" }, "acknowledge": { "type": "boolean", + "default": false, "description": "whether the user has acknowledged acknowledge messages (default: false)" }, "master_timeout": { diff --git a/specification/_json_spec/ml.clear_trained_model_deployment_cache.json b/specification/_json_spec/ml.clear_trained_model_deployment_cache.json index 4eb31dcb74..6fe2b9585d 100644 --- a/specification/_json_spec/ml.clear_trained_model_deployment_cache.json +++ b/specification/_json_spec/ml.clear_trained_model_deployment_cache.json @@ -18,8 +18,7 @@ "parts": { "model_id": { "type": "string", - "description": "The unique identifier of the trained model.", - "required": true + "description": "The unique identifier of the trained model." } } } diff --git a/specification/_json_spec/ml.get_buckets.json b/specification/_json_spec/ml.get_buckets.json index 3c47e85f1b..012f043341 100644 --- a/specification/_json_spec/ml.get_buckets.json +++ b/specification/_json_spec/ml.get_buckets.json @@ -21,7 +21,7 @@ "description": "ID of the job to get bucket results from" }, "timestamp": { - "type": "string", + "type": "date", "description": "The timestamp of the desired single bucket result" } } diff --git a/specification/_json_spec/ml.get_overall_buckets.json b/specification/_json_spec/ml.get_overall_buckets.json index 056955ad0b..2513ffcdbb 100644 --- a/specification/_json_spec/ml.get_overall_buckets.json +++ b/specification/_json_spec/ml.get_overall_buckets.json @@ -31,7 +31,7 @@ "description": "The number of top job bucket scores to be used in the overall_score calculation" }, "bucket_span": { - "type": "string", + "type": "time", "description": "The span of the overall buckets. Defaults to the longest job bucket_span" }, "overall_score": { diff --git a/specification/_json_spec/ml.infer_trained_model.json b/specification/_json_spec/ml.infer_trained_model.json index b3461333c6..d616eb836b 100644 --- a/specification/_json_spec/ml.infer_trained_model.json +++ b/specification/_json_spec/ml.infer_trained_model.json @@ -18,8 +18,7 @@ "parts": { "model_id": { "type": "string", - "description": "The unique identifier of the trained model.", - "required": true + "description": "The unique identifier of the trained model." } } } diff --git a/specification/_json_spec/ml.open_job.json b/specification/_json_spec/ml.open_job.json index e83bd81d77..1834cd1342 100644 --- a/specification/_json_spec/ml.open_job.json +++ b/specification/_json_spec/ml.open_job.json @@ -24,6 +24,13 @@ } ] }, + "params": { + "timeout": { + "default": "30m", + "type": "time", + "description": "Controls the time to wait until a job has opened." + } + }, "body": { "description": "Query parameters can be specified in the body", "required": false diff --git a/specification/_json_spec/ml.start_trained_model_deployment.json b/specification/_json_spec/ml.start_trained_model_deployment.json index 7e6c22fe23..3573ca6724 100644 --- a/specification/_json_spec/ml.start_trained_model_deployment.json +++ b/specification/_json_spec/ml.start_trained_model_deployment.json @@ -18,8 +18,7 @@ "parts": { "model_id": { "type": "string", - "description": "The unique identifier of the trained model.", - "required": true + "description": "The unique identifier of the trained model." } } } diff --git a/specification/_json_spec/ml.stop_datafeed.json b/specification/_json_spec/ml.stop_datafeed.json index 372ecb47a4..f19fe5498e 100644 --- a/specification/_json_spec/ml.stop_datafeed.json +++ b/specification/_json_spec/ml.stop_datafeed.json @@ -35,6 +35,11 @@ "default": false, "description": "True if the datafeed should be forcefully stopped." }, + "close_job": { + "type": "boolean", + "default": false, + "description": "True if the job associated with the datafeed should be closed." + }, "timeout": { "type": "time", "default": "20s", diff --git a/specification/_json_spec/ml.stop_trained_model_deployment.json b/specification/_json_spec/ml.stop_trained_model_deployment.json index 2b0dffcfd1..69caf1e119 100644 --- a/specification/_json_spec/ml.stop_trained_model_deployment.json +++ b/specification/_json_spec/ml.stop_trained_model_deployment.json @@ -18,8 +18,7 @@ "parts": { "model_id": { "type": "string", - "description": "The unique identifier of the trained model.", - "required": true + "description": "The unique identifier of the trained model." } } } diff --git a/specification/_json_spec/monitoring.bulk.json b/specification/_json_spec/monitoring.bulk.json index fcc57a3778..d1b117d79f 100644 --- a/specification/_json_spec/monitoring.bulk.json +++ b/specification/_json_spec/monitoring.bulk.json @@ -21,14 +21,17 @@ "params": { "system_id": { "type": "string", + "required": true, "description": "Identifier of the monitored system" }, "system_api_version": { "type": "string", + "required": true, "description": "API Version of the monitored system" }, "interval": { - "type": "string", + "type": "time", + "required": true, "description": "Collection interval (e.g., '10s' or '10000ms') of the payload" } }, diff --git a/specification/_json_spec/nodes.hot_threads.json b/specification/_json_spec/nodes.hot_threads.json index f9a9ff6ded..b4069dddf2 100644 --- a/specification/_json_spec/nodes.hot_threads.json +++ b/specification/_json_spec/nodes.hot_threads.json @@ -56,6 +56,7 @@ }, "sort": { "type": "enum", + "default": "total", "options": ["cpu", "wait", "block", "gpu", "mem"], "description": "The sort order for 'cpu' type (default: total)" }, diff --git a/specification/_json_spec/open_point_in_time.json b/specification/_json_spec/open_point_in_time.json index a8e098098b..411fa65359 100644 --- a/specification/_json_spec/open_point_in_time.json +++ b/specification/_json_spec/open_point_in_time.json @@ -45,7 +45,7 @@ "description": "Whether to expand wildcard expression to concrete indices that are open, closed or both." }, "keep_alive": { - "type": "string", + "type": "time", "description": "Specific the time to live for the point in time", "required": true }, @@ -58,10 +58,6 @@ "type": "int", "description": "The number of concurrent shard requests per node executed concurrently when opening this point-in-time. This value should be used to limit the impact of opening the point-in-time on the cluster", "default": 5 - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } }, "body": { diff --git a/specification/_json_spec/profiling.status.json b/specification/_json_spec/profiling.status.json index 68a76d9cfd..3776660c53 100644 --- a/specification/_json_spec/profiling.status.json +++ b/specification/_json_spec/profiling.status.json @@ -25,6 +25,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Explicit operation timeout" }, "wait_for_resources_created": { diff --git a/specification/_json_spec/project_routing.create_many.json b/specification/_json_spec/project.create_many_routing.json similarity index 76% rename from specification/_json_spec/project_routing.create_many.json rename to specification/_json_spec/project.create_many_routing.json index b7b1827db3..2416a9b15e 100644 --- a/specification/_json_spec/project_routing.create_many.json +++ b/specification/_json_spec/project.create_many_routing.json @@ -1,7 +1,7 @@ { - "project_routing.create_many": { + "project.create_many_routing": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", "description": "Create or update named project routing expressions" }, "stability": "experimental", @@ -13,7 +13,7 @@ "url": { "paths": [ { - "path": "/_project_routing/", + "path": "/_project_routing", "methods": ["PUT"] } ] diff --git a/specification/_json_spec/project_routing.create.json b/specification/_json_spec/project.create_routing.json similarity index 87% rename from specification/_json_spec/project_routing.create.json rename to specification/_json_spec/project.create_routing.json index ebaed298a5..8b91b7b19d 100644 --- a/specification/_json_spec/project_routing.create.json +++ b/specification/_json_spec/project.create_routing.json @@ -1,7 +1,7 @@ { - "project_routing.create": { + "project.create_routing": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", "description": "Create or update named project routing expression" }, "stability": "experimental", diff --git a/specification/_json_spec/project_routing.delete.json b/specification/_json_spec/project.delete_routing.json similarity index 78% rename from specification/_json_spec/project_routing.delete.json rename to specification/_json_spec/project.delete_routing.json index a9244b051b..47b4912630 100644 --- a/specification/_json_spec/project_routing.delete.json +++ b/specification/_json_spec/project.delete_routing.json @@ -1,14 +1,13 @@ { - "project_routing.delete": { + "project.delete_routing": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", "description": "Delete named project routing expression" }, "stability": "experimental", "visibility": "public", "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] + "accept": ["application/json"] }, "url": { "paths": [ diff --git a/specification/_json_spec/project_routing.get_many.json b/specification/_json_spec/project.get_many_routing.json similarity index 60% rename from specification/_json_spec/project_routing.get_many.json rename to specification/_json_spec/project.get_many_routing.json index 79645d273a..799bef55e5 100644 --- a/specification/_json_spec/project_routing.get_many.json +++ b/specification/_json_spec/project.get_many_routing.json @@ -1,19 +1,18 @@ { - "project_routing.get_many": { + "project.get_many_routing": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", "description": "Get named project routing expressions" }, "stability": "experimental", "visibility": "public", "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] + "accept": ["application/json"] }, "url": { "paths": [ { - "path": "/_project_routing/", + "path": "/_project_routing", "methods": ["GET"] } ] diff --git a/specification/_json_spec/project_routing.get.json b/specification/_json_spec/project.get_routing.json similarity index 78% rename from specification/_json_spec/project_routing.get.json rename to specification/_json_spec/project.get_routing.json index a383958850..67ca4ddb9e 100644 --- a/specification/_json_spec/project_routing.get.json +++ b/specification/_json_spec/project.get_routing.json @@ -1,14 +1,13 @@ { - "project_routing.get": { + "project.get_routing": { "documentation": { - "url": null, + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", "description": "Get named project routing expression" }, "stability": "experimental", "visibility": "public", "headers": { - "accept": ["application/json"], - "content_type": ["application/json"] + "accept": ["application/json"] }, "url": { "paths": [ diff --git a/specification/_json_spec/reindex_cancel.json b/specification/_json_spec/reindex_cancel.json new file mode 100644 index 0000000000..27384b830c --- /dev/null +++ b/specification/_json_spec/reindex_cancel.json @@ -0,0 +1,35 @@ +{ + "reindex_cancel": { + "documentation": { + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", + "description": "Cancel a reindex operation" + }, + "stability": "beta", + "visibility": "feature_flag", + "feature_flag": "reindex_resilience", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_reindex/{task_id}/_cancel", + "methods": ["POST"], + "parts": { + "task_id": { + "type": "string", + "description": "Cancel the reindex operation with specified id" + } + } + } + ] + }, + "params": { + "wait_for_completion": { + "type": "boolean", + "default": true, + "description": "Should the request block until the cancellation of the reindex operation is completed. Defaults to true" + } + } + } +} diff --git a/specification/_json_spec/reindex_get.json b/specification/_json_spec/reindex_get.json new file mode 100644 index 0000000000..8d04f5af20 --- /dev/null +++ b/specification/_json_spec/reindex_get.json @@ -0,0 +1,39 @@ +{ + "reindex_get": { + "documentation": { + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", + "description": "Get information for a reindex operation" + }, + "stability": "beta", + "visibility": "feature_flag", + "feature_flag": "reindex_resilience", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_reindex/{task_id}", + "methods": ["GET"], + "parts": { + "task_id": { + "type": "string", + "description": "Return the reindex operation with specified id" + } + } + } + ] + }, + "params": { + "wait_for_completion": { + "type": "boolean", + "default": false, + "description": "Wait for the reindex operation to complete (default: false)" + }, + "timeout": { + "type": "time", + "description": "Explicit operation timeout, only used when wait_for_completion is true" + } + } + } +} diff --git a/specification/_json_spec/reindex_list.json b/specification/_json_spec/reindex_list.json new file mode 100644 index 0000000000..c7b67fed78 --- /dev/null +++ b/specification/_json_spec/reindex_list.json @@ -0,0 +1,29 @@ +{ + "reindex_list": { + "documentation": { + "url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO", + "description": "List all running reindex operations" + }, + "stability": "beta", + "visibility": "feature_flag", + "feature_flag": "reindex_resilience", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_reindex", + "methods": ["GET"] + } + ] + }, + "params": { + "detailed": { + "type": "boolean", + "default": false, + "description": "Return detailed reindex information (default: false)" + } + } + } +} diff --git a/specification/_json_spec/rollup.rollup_search.json b/specification/_json_spec/rollup.rollup_search.json index d732e9c2c8..90732d88c4 100644 --- a/specification/_json_spec/rollup.rollup_search.json +++ b/specification/_json_spec/rollup.rollup_search.json @@ -31,6 +31,7 @@ "params": { "typed_keys": { "type": "boolean", + "default": false, "description": "Specify whether aggregation and suggester names should be prefixed by their respective types in the response" }, "rest_total_hits_as_int": { diff --git a/specification/_json_spec/search.json b/specification/_json_spec/search.json index a73d6ec616..2b737c6a33 100644 --- a/specification/_json_spec/search.json +++ b/specification/_json_spec/search.json @@ -111,10 +111,6 @@ "type": "string", "description": "Specify the node or shard the operation should be performed on (default: random)" }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." - }, "q": { "type": "string", "description": "Query in the Lucene query string syntax" diff --git a/specification/_json_spec/search_mvt.json b/specification/_json_spec/search_mvt.json index 8703762ba1..dcc4b0afd1 100644 --- a/specification/_json_spec/search_mvt.json +++ b/specification/_json_spec/search_mvt.json @@ -68,10 +68,6 @@ "description": "Aggregation used to create a grid for `field`.", "default": "geotile" }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." - }, "size": { "type": "int", "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.", diff --git a/specification/_json_spec/search_template.json b/specification/_json_spec/search_template.json index 9aeb0386c9..70030278c0 100644 --- a/specification/_json_spec/search_template.json +++ b/specification/_json_spec/search_template.json @@ -95,10 +95,6 @@ "type": "boolean", "description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution", "default": true - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } }, "body": { diff --git a/specification/_json_spec/sql.query.json b/specification/_json_spec/sql.query.json index d14320799c..a5b57983ae 100644 --- a/specification/_json_spec/sql.query.json +++ b/specification/_json_spec/sql.query.json @@ -23,10 +23,6 @@ "type": "enum", "description": "The format for the response.\nYou can also specify a format using the `Accept` HTTP header.\nIf you specify both this parameter and the `Accept` HTTP header, this parameter takes precedence.", "options": ["csv", "json", "tsv", "txt", "yaml", "cbor", "smile"] - }, - "project_routing": { - "type": "string", - "description": "A Lucene query using project metadata tags to limit which projects to search, such as _alias:_origin or _alias:*pr*. Only supported in serverless." } }, "body": { diff --git a/specification/_json_spec/streams.logs_disable.json b/specification/_json_spec/streams.logs_disable.json index 58589d9a70..a4c1cab8a7 100644 --- a/specification/_json_spec/streams.logs_disable.json +++ b/specification/_json_spec/streams.logs_disable.json @@ -13,8 +13,14 @@ "url": { "paths": [ { - "path": "/_streams/logs/_disable", - "methods": ["POST"] + "path": "/_streams/{name}/_disable", + "methods": ["POST"], + "parts": { + "name": { + "type": "string", + "description": "Stream name to disable" + } + } } ] }, diff --git a/specification/_json_spec/streams.logs_enable.json b/specification/_json_spec/streams.logs_enable.json index 8220bc9065..d1267cf45d 100644 --- a/specification/_json_spec/streams.logs_enable.json +++ b/specification/_json_spec/streams.logs_enable.json @@ -13,8 +13,14 @@ "url": { "paths": [ { - "path": "/_streams/logs/_enable", - "methods": ["POST"] + "path": "/_streams/{name}/_enable", + "methods": ["POST"], + "parts": { + "name": { + "type": "string", + "description": "Stream name to enable" + } + } } ] }, diff --git a/specification/_json_spec/transform.get_transform_stats.json b/specification/_json_spec/transform.get_transform_stats.json index 15b08cb4d9..8e6c5bf855 100644 --- a/specification/_json_spec/transform.get_transform_stats.json +++ b/specification/_json_spec/transform.get_transform_stats.json @@ -36,6 +36,7 @@ }, "timeout": { "type": "time", + "default": "30s", "description": "Controls the time to wait for the stats" }, "allow_no_match": { diff --git a/specification/_json_spec/transform.schedule_now_transform.json b/specification/_json_spec/transform.schedule_now_transform.json index 803a8af112..3c6bf289a3 100644 --- a/specification/_json_spec/transform.schedule_now_transform.json +++ b/specification/_json_spec/transform.schedule_now_transform.json @@ -18,7 +18,6 @@ "parts": { "transform_id": { "type": "string", - "required": true, "description": "The id of the transform." } } diff --git a/specification/_json_spec/transform.update_transform.json b/specification/_json_spec/transform.update_transform.json index 2ff351cd53..e6600f7e76 100644 --- a/specification/_json_spec/transform.update_transform.json +++ b/specification/_json_spec/transform.update_transform.json @@ -18,7 +18,6 @@ "parts": { "transform_id": { "type": "string", - "required": true, "description": "The id of the transform." } } diff --git a/specification/_json_spec/update_by_query_rethrottle.json b/specification/_json_spec/update_by_query_rethrottle.json index db0d092456..2095c26864 100644 --- a/specification/_json_spec/update_by_query_rethrottle.json +++ b/specification/_json_spec/update_by_query_rethrottle.json @@ -27,7 +27,6 @@ "requests_per_second": { "type": "number", "required": true, - "default": -1, "description": "The throttle to set on this request in floating sub-requests per second. -1 means set no throttle." } }