Skip to content

Commit 9f9401f

Browse files
Update rest-api-spec 8.18 (#3815)
* Update rest-api-spec * Reflect rest-api-spec changes --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Quentin Pradet <[email protected]>
1 parent ee49ae0 commit 9f9401f

13 files changed

+24
-20
lines changed

output/openapi/elasticsearch-openapi.json

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

output/schema/schema-serverless.json

Lines changed: 2 additions & 2 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: 4 additions & 4 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: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"endpointErrors": {
33
"async_search.submit": {
44
"request": [
5-
"Request: query parameter 'keep_alive' does not exist in the json spec",
65
"Request: query parameter 'min_compatible_shard_node' does not exist in the json spec",
76
"interface definition _types:QueryVectorBuilder - Property text_embedding is a single-variant and must be required"
87
],

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/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/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/eql/search/EqlSearchRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ export interface Request extends RequestBase {
5252
allow_no_indices?: boolean
5353
/**
5454
* If true, returns partial results if there are shard failures. If false, returns an error with no partial results.
55-
* @server_default false
55+
* @server_default true
5656
*/
5757
allow_partial_search_results?: boolean
5858
/**
5959
* If true, sequence queries will return partial results in case of shard failures. If false, they will return no results at all.
6060
* This flag has effect only if allow_partial_search_results is true.
61-
* @server_default false
61+
* @server_default true
6262
*/
6363
allow_partial_sequence_results?: boolean
6464
/**

specification/inference/update/UpdateInferenceRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export interface Request extends RequestBase {
3939
urls: [
4040
{
4141
path: '/_inference/{inference_id}/_update'
42-
methods: ['POST']
42+
methods: ['PUT']
4343
},
4444
{
4545
path: '/_inference/{task_type}/{inference_id}/_update'
46-
methods: ['POST']
46+
methods: ['PUT']
4747
}
4848
]
4949
path_parts: {

0 commit comments

Comments
 (0)