Skip to content

Commit 6bf3974

Browse files
Update rest-api-spec (#4933)
Co-authored-by: pquentin <[email protected]>
1 parent 0f4ac79 commit 6bf3974

File tree

4 files changed

+17
-19
lines changed

4 files changed

+17
-19
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -163,13 +163,6 @@
163163
],
164164
"response": []
165165
},
166-
"create": {
167-
"request": [
168-
"Request: query parameter 'require_alias' does not exist in the json spec",
169-
"Request: query parameter 'require_data_stream' does not exist in the json spec"
170-
],
171-
"response": []
172-
},
173166
"esql.async_query_get": {
174167
"request": [
175168
"Request: query parameter 'format' does not exist in the json spec"
@@ -262,24 +255,12 @@
262255
],
263256
"response": []
264257
},
265-
"reindex": {
266-
"request": [
267-
"Request: query parameter 'require_alias' does not exist in the json spec"
268-
],
269-
"response": []
270-
},
271258
"searchable_snapshots.clear_cache": {
272259
"request": [
273260
"Request: missing json spec query parameter 'index'"
274261
],
275262
"response": []
276263
},
277-
"snapshot.repository_analyze": {
278-
"request": [
279-
"Request: query parameter 'register_operation_count' does not exist in the json spec"
280-
],
281-
"response": []
282-
},
283264
"xpack.info": {
284265
"request": [
285266
"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/reindex.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"max_docs": {
5656
"type": "number",
5757
"description": "Maximum number of documents to process (default: all documents)"
58+
},
59+
"require_alias": {
60+
"type": "boolean",
61+
"default": false,
62+
"description": "When true, requires destination to be an alias."
5863
}
5964
},
6065
"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)