Skip to content

Commit f455fb4

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 285fa0f commit f455fb4

14 files changed

+95
-52
lines changed

output/schema/schema-serverless.json

Lines changed: 30 additions & 30 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: 32 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
},
@@ -394,6 +403,14 @@
394403
],
395404
"response": []
396405
},
406+
"indices.resolve_cluster": {
407+
"request": [
408+
"Request: different number of urls in the json spec",
409+
"Request: path parameter 'name' is required in the json spec",
410+
"Request: query parameter 'timeout' does not exist in the json spec"
411+
],
412+
"response": []
413+
},
397414
"indices.rollover": {
398415
"request": [
399416
"Request: missing json spec query parameter 'lazy'"
@@ -413,6 +430,13 @@
413430
],
414431
"response": []
415432
},
433+
"inference.update": {
434+
"request": [
435+
"/_inference/{inference_id}/_update: different http methods in the json spec",
436+
"/_inference/{task_type}/{inference_id}/_update: different http methods in the json spec"
437+
],
438+
"response": []
439+
},
416440
"ingest.delete_geoip_database": {
417441
"request": [
418442
"Request: query parameter 'master_timeout' does not exist in the json spec",
@@ -560,6 +584,12 @@
560584
"interface definition transform._types:SyncContainer - Property time is a single-variant and must be required"
561585
]
562586
},
587+
"update": {
588+
"request": [
589+
"Request: missing json spec query parameter 'include_source_on_error'"
590+
],
591+
"response": []
592+
},
563593
"watcher.execute_watch": {
564594
"request": [
565595
"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/indices.resolve_cluster.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"indices.resolve_cluster": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-cluster-api.html",
5-
"description": "Resolves the specified index expressions to return information about each cluster. If no index expression is provided, this endpoint will return information about all the remote clusters that are configured on the local cluster."
5+
"description": "Resolves the specified index expressions to return information about each cluster, including the local cluster, if included."
66
},
77
"stability": "stable",
88
"visibility": "public",
@@ -11,10 +11,6 @@
1111
},
1212
"url": {
1313
"paths": [
14-
{
15-
"path": "/_resolve/cluster",
16-
"methods": ["GET"]
17-
},
1814
{
1915
"path": "/_resolve/cluster/{name}",
2016
"methods": ["GET"],
@@ -30,25 +26,21 @@
3026
"params": {
3127
"ignore_unavailable": {
3228
"type": "boolean",
33-
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed). Only allowed when providing an index expression."
29+
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
3430
},
3531
"ignore_throttled": {
3632
"type": "boolean",
37-
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled. Only allowed when providing an index expression."
33+
"description": "Whether specified concrete, expanded or aliased indices should be ignored when throttled"
3834
},
3935
"allow_no_indices": {
4036
"type": "boolean",
41-
"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). Only allowed when providing an index expression."
37+
"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)"
4238
},
4339
"expand_wildcards": {
4440
"type": "enum",
4541
"options": ["open", "closed", "hidden", "none", "all"],
4642
"default": "open",
47-
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open). Only allowed when providing an index expression."
48-
},
49-
"timeout": {
50-
"type": "time",
51-
"description": "The maximum time to wait for remote clusters to respond"
43+
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
5244
}
5345
}
5446
}

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)