Skip to content

Commit fcfdcf5

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 41f2f0a commit fcfdcf5

14 files changed

+66
-10
lines changed

output/schema/validation-errors.json

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,16 @@
3838
},
3939
"async_search.submit": {
4040
"request": [
41-
"Request: query parameter 'keep_alive' does not exist in the json spec",
4241
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required"
4342
],
4443
"response": []
4544
},
45+
"bulk": {
46+
"request": [
47+
"Request: missing json spec query parameter 'include_source_on_error'"
48+
],
49+
"response": []
50+
},
4651
"capabilities": {
4752
"request": [
4853
"Missing request & response"
@@ -147,6 +152,12 @@
147152
],
148153
"response": []
149154
},
155+
"create": {
156+
"request": [
157+
"Request: missing json spec query parameter 'include_source_on_error'"
158+
],
159+
"response": []
160+
},
150161
"eql.search": {
151162
"request": [
152163
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
@@ -187,9 +198,16 @@
187198
],
188199
"response": []
189200
},
201+
"ilm.migrate_to_data_tiers": {
202+
"request": [
203+
"Request: missing json spec query parameter 'master_timeout'"
204+
],
205+
"response": []
206+
},
190207
"index": {
191208
"request": [
192-
"Request: missing json spec query parameter 'require_data_stream'"
209+
"Request: missing json spec query parameter 'require_data_stream'",
210+
"Request: missing json spec query parameter 'include_source_on_error'"
193211
],
194212
"response": []
195213
},
@@ -255,6 +273,13 @@
255273
],
256274
"response": []
257275
},
276+
"inference.update": {
277+
"request": [
278+
"/_inference/{inference_id}/_update: different http methods in the json spec",
279+
"/_inference/{task_type}/{inference_id}/_update: different http methods in the json spec"
280+
],
281+
"response": []
282+
},
258283
"ingest.get_ip_location_database": {
259284
"request": [
260285
"Request: query parameter 'master_timeout' does not exist in the json spec"
@@ -380,6 +405,12 @@
380405
"interface definition transform._types:SyncContainer - Property time is a single-variant and must be required"
381406
]
382407
},
408+
"update": {
409+
"request": [
410+
"Request: missing json spec query parameter 'include_source_on_error'"
411+
],
412+
"response": []
413+
},
383414
"watcher.execute_watch": {
384415
"request": [
385416
"interface definition watcher._types:TriggerContainer - Property schedule is a single-variant and must be required"

specification/_json_spec/async_search.submit.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
"description": "Control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false)",
4040
"default": false
4141
},
42+
"keep_alive": {
43+
"type": "time",
44+
"description": "Update the time interval in which the results (partial or final) for this search will be available",
45+
"default": "5d"
46+
},
4247
"batched_reduce_size": {
4348
"type": "number",
4449
"description": "The number of shard results that should be reduced at once on the coordinating node. This value should be used as the granularity at which progress results will be made available.",

specification/_json_spec/bulk.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@
7373
"list_executed_pipelines": {
7474
"type": "boolean",
7575
"description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)"
76+
},
77+
"include_source_on_error": {
78+
"type": "boolean",
79+
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
7680
}
7781
},
7882
"body": {

specification/_json_spec/create.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858
"pipeline": {
5959
"type": "string",
6060
"description": "The pipeline id to preprocess incoming documents with"
61+
},
62+
"include_source_on_error": {
63+
"type": "boolean",
64+
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
6165
}
6266
},
6367
"body": {

specification/_json_spec/enrich.get_policy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33-
"description": "Timeout for processing on master node"
33+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3434
}
3535
}
3636
}

specification/_json_spec/eql.search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"allow_partial_search_results": {
4343
"type": "boolean",
4444
"description": "Control whether the query should keep running in case of shard failures, and return partial results",
45-
"default": false
45+
"default": true
4646
},
4747
"allow_partial_sequence_results": {
4848
"type": "boolean",

specification/_json_spec/ilm.migrate_to_data_tiers.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
]
2020
},
2121
"params": {
22+
"master_timeout": {
23+
"type": "time",
24+
"description": "Explicit operation timeout for connection to master node"
25+
},
2226
"dry_run": {
2327
"type": "boolean",
2428
"description": "If set to true it will simulate the migration, providing a way to retrieve the ILM policies and indices that need to be migrated. The default is false"

specification/_json_spec/index.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
"require_data_stream": {
9090
"type": "boolean",
9191
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
92+
},
93+
"include_source_on_error": {
94+
"type": "boolean",
95+
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
9296
}
9397
},
9498
"body": {

specification/_json_spec/indices.cancel_migrate_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.cancel_migrate_reindex": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex-cancel-api.html",
55
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
66
},
77
"stability": "experimental",

specification/_json_spec/indices.create_from.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.create_from": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index-from-source.html",
55
"description": "This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values."
66
},
77
"stability": "experimental",

0 commit comments

Comments
 (0)