Skip to content

Commit f5f2bd2

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent d5ae353 commit f5f2bd2

14 files changed

+88
-43
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/schema/schema.json

Lines changed: 34 additions & 34 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: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@
3939
"async_search.submit": {
4040
"request": [
4141
"Request: query parameter 'min_compatible_shard_node' does not exist in the json spec",
42+
"Request: missing json spec query parameter 'keep_alive'",
4243
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required"
4344
],
4445
"response": []
4546
},
4647
"bulk": {
4748
"request": [
48-
"Request: missing json spec query parameter 'type'"
49+
"Request: missing json spec query parameter 'type'",
50+
"Request: missing json spec query parameter 'include_source_on_error'"
4951
],
5052
"response": []
5153
},
@@ -264,6 +266,12 @@
264266
],
265267
"response": []
266268
},
269+
"create": {
270+
"request": [
271+
"Request: missing json spec query parameter 'include_source_on_error'"
272+
],
273+
"response": []
274+
},
267275
"eql.search": {
268276
"request": [
269277
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
@@ -347,7 +355,8 @@
347355
},
348356
"index": {
349357
"request": [
350-
"Request: missing json spec query parameter 'require_data_stream'"
358+
"Request: missing json spec query parameter 'require_data_stream'",
359+
"Request: missing json spec query parameter 'include_source_on_error'"
351360
],
352361
"response": []
353362
},
@@ -413,6 +422,13 @@
413422
],
414423
"response": []
415424
},
425+
"inference.update": {
426+
"request": [
427+
"/_inference/{inference_id}/_update: different http methods in the json spec",
428+
"/_inference/{task_type}/{inference_id}/_update: different http methods in the json spec"
429+
],
430+
"response": []
431+
},
416432
"ingest.delete_geoip_database": {
417433
"request": [
418434
"Request: query parameter 'master_timeout' does not exist in the json spec",
@@ -560,6 +576,12 @@
560576
"interface definition transform._types:SyncContainer - Property time is a single-variant and must be required"
561577
]
562578
},
579+
"update": {
580+
"request": [
581+
"Request: missing json spec query parameter 'include_source_on_error'"
582+
],
583+
"response": []
584+
},
563585
"watcher.execute_watch": {
564586
"request": [
565587
"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
@@ -77,6 +77,10 @@
7777
"list_executed_pipelines": {
7878
"type": "boolean",
7979
"description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)"
80+
},
81+
"include_source_on_error": {
82+
"type": "boolean",
83+
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
8084
}
8185
},
8286
"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/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/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",

specification/_json_spec/indices.get_migrate_reindex_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.get_migrate_reindex_status": {
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-status-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.migrate_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"indices.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-api.html",
55
"description": "This API reindexes all legacy backing indices for a data stream. It does this in a persistent task. The persistent task id is returned immediately, and the reindexing work is completed in that task"
66
},
77
"stability": "experimental",

specification/_json_spec/inference.update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"paths": [
1515
{
1616
"path": "/_inference/{inference_id}/_update",
17-
"methods": ["POST"],
17+
"methods": ["PUT"],
1818
"parts": {
1919
"inference_id": {
2020
"type": "string",
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"path": "/_inference/{task_type}/{inference_id}/_update",
27-
"methods": ["POST"],
27+
"methods": ["PUT"],
2828
"parts": {
2929
"task_type": {
3030
"type": "string",

specification/_json_spec/update.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@
7777
"require_alias": {
7878
"type": "boolean",
7979
"description": "When true, requires destination is an alias. Default is false"
80+
},
81+
"include_source_on_error": {
82+
"type": "boolean",
83+
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
8084
}
8185
},
8286
"body": {

0 commit comments

Comments
 (0)