Skip to content

Commit ab63371

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 6dead78 commit ab63371

File tree

7 files changed

+39
-12
lines changed

7 files changed

+39
-12
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
"request": [
55
"Request: query parameter 'if_primary_term' does not exist in the json spec",
66
"Request: query parameter 'if_seq_no' does not exist in the json spec",
7-
"Request: query parameter 'op_type' does not exist in the json spec",
8-
"Request: query parameter 'require_alias' does not exist in the json spec",
9-
"Request: query parameter 'require_data_stream' does not exist in the json spec"
7+
"Request: query parameter 'op_type' does not exist in the json spec"
108
],
119
"response": []
1210
},
1311
"eql.search": {
1412
"request": [
15-
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
16-
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
17-
"Request: query parameter 'ignore_unavailable' does not exist in the json spec"
13+
"Request: missing json spec query parameter 'ccs_minimize_roundtrips'"
1814
],
1915
"response": []
2016
},
@@ -41,12 +37,6 @@
4137
],
4238
"response": []
4339
},
44-
"snapshot.repository_analyze": {
45-
"request": [
46-
"Request: query parameter 'register_operation_count' does not exist in the json spec"
47-
],
48-
"response": []
49-
},
5040
"xpack.info": {
5141
"request": [
5242
"request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class"

specification/_json_spec/create.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@
6262
"include_source_on_error": {
6363
"type": "boolean",
6464
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
65+
},
66+
"require_alias": {
67+
"type": "boolean",
68+
"description": "When true, requires destination to be an alias. Default is false"
69+
},
70+
"require_data_stream": {
71+
"type": "boolean",
72+
"description": "When true, requires destination to be a data stream (existing or to be created). Default is false"
6573
}
6674
},
6775
"body": {

specification/_json_spec/eql.search.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,25 @@
4848
"type": "boolean",
4949
"description": "Control whether a sequence query should return partial results or no results at all in case of shard failures. This option has effect only if [allow_partial_search_results] is true.",
5050
"default": false
51+
},
52+
"ccs_minimize_roundtrips": {
53+
"type": "boolean",
54+
"description": "Indicates whether network round-trips should be minimized as part of cross-cluster search requests execution",
55+
"default": true
56+
},
57+
"ignore_unavailable": {
58+
"type": "boolean",
59+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
60+
},
61+
"allow_no_indices": {
62+
"type": "boolean",
63+
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
64+
},
65+
"expand_wildcards": {
66+
"type": "enum",
67+
"options": ["open", "closed", "hidden", "none", "all"],
68+
"default": "open",
69+
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
5170
}
5271
},
5372
"body": {

specification/_json_spec/snapshot.repository_analyze.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
"type": "number",
3333
"description": "Number of operations to run concurrently during the test. Defaults to 10."
3434
},
35+
"register_operation_count": {
36+
"type": "number",
37+
"description": "The minimum number of linearizable register operations to perform in total. Defaults to 10."
38+
},
3539
"read_node_count": {
3640
"type": "number",
3741
"description": "Number of nodes on which to read a blob after writing. Defaults to 10."

0 commit comments

Comments
 (0)