Skip to content

Commit 69b98cb

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 2f0e14f commit 69b98cb

10 files changed

+22
-8
lines changed

output/schema/validation-errors.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
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": []
@@ -187,6 +186,12 @@
187186
],
188187
"response": []
189188
},
189+
"ilm.migrate_to_data_tiers": {
190+
"request": [
191+
"Request: missing json spec query parameter 'master_timeout'"
192+
],
193+
"response": []
194+
},
190195
"index": {
191196
"request": [
192197
"Request: missing json spec query parameter 'require_data_stream'"

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/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/enrich.stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23-
"description": "Timeout for processing on master node"
23+
"description": "Timeout for waiting for new cluster state in case it is blocked"
2424
}
2525
}
2626
}

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/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",

0 commit comments

Comments
 (0)