Skip to content

Commit ccbbc66

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

18 files changed

+48
-46
lines changed

output/schema/validation-errors.json

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,7 @@
237237
},
238238
"indices.rollover": {
239239
"request": [
240-
"Request: missing json spec query parameter 'lazy'",
241-
"Request: missing json spec query parameter 'target_failure_store'"
240+
"Request: missing json spec query parameter 'lazy'"
242241
],
243242
"response": []
244243
},
@@ -264,8 +263,7 @@
264263
"license.post_start_trial": {
265264
"request": [
266265
"Request: query parameter 'type_query_string' does not exist in the json spec",
267-
"Request: missing json spec query parameter 'type'",
268-
"Request: missing json spec query parameter 'timeout'"
266+
"Request: missing json spec query parameter 'type'"
269267
],
270268
"response": []
271269
},
@@ -356,20 +354,6 @@
356354
],
357355
"response": []
358356
},
359-
"shutdown.delete_node": {
360-
"request": [
361-
"Request: query parameter 'master_timeout' does not exist in the json spec",
362-
"Request: query parameter 'timeout' does not exist in the json spec"
363-
],
364-
"response": []
365-
},
366-
"shutdown.put_node": {
367-
"request": [
368-
"Request: query parameter 'master_timeout' does not exist in the json spec",
369-
"Request: query parameter 'timeout' does not exist in the json spec"
370-
],
371-
"response": []
372-
},
373357
"snapshot.clone": {
374358
"request": [
375359
"Request: query parameter 'timeout' does not exist in the json spec"
@@ -411,7 +395,6 @@
411395
},
412396
"xpack.info": {
413397
"request": [
414-
"Request: query parameter 'human' does not exist in the json spec",
415398
"request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class"
416399
],
417400
"response": []

specification/_json_spec/cluster.exists_component_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@
2626
"params": {
2727
"master_timeout": {
2828
"type": "time",
29-
"description": "Explicit operation timeout for connection to master node"
29+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3030
},
3131
"local": {
32+
"deprecated": true,
3233
"type": "boolean",
3334
"description": "Return local information, do not retrieve the state from master node (default: false)"
3435
}

specification/_json_spec/cluster.get_component_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33-
"description": "Explicit operation timeout for connection to master node"
33+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3434
},
3535
"local": {
36+
"deprecated": true,
3637
"type": "boolean",
3738
"description": "Return local information, do not retrieve the state from master node (default: false)"
3839
},

specification/_json_spec/cluster.get_settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"master_timeout": {
2626
"type": "time",
27-
"description": "Explicit operation timeout for connection to master node"
27+
"description": "Timeout for waiting for new cluster state in case it is blocked"
2828
},
2929
"timeout": {
3030
"type": "time",

specification/_json_spec/connector.delete.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
]
2525
},
2626
"params": {
27-
"delete_sync_jobs": {
27+
"hard": {
2828
"type": "boolean",
2929
"default": false,
30-
"description": "Determines whether associated sync jobs are also deleted."
30+
"description": "If true, the connector doc is deleted. If false, connector doc is marked as deleted (soft-deleted)."
3131
},
32-
"hard": {
32+
"delete_sync_jobs": {
3333
"type": "boolean",
3434
"default": false,
35-
"description": "A flag indicating if this should be a hard delete. Defaults to false."
35+
"description": "Determines whether associated sync jobs are also deleted."
3636
}
3737
}
3838
}

specification/_json_spec/connector.get.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"include_deleted": {
2828
"type": "boolean",
2929
"default": false,
30-
"description": "A flag to indicate if the desired connector should be fetched even if it was soft-deleted"
30+
"description": "A flag indicating whether to return connectors that have been soft-deleted."
3131
}
3232
}
3333
}

specification/_json_spec/connector.list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"include_deleted": {
4848
"type": "boolean",
4949
"default": false,
50-
"description": "A flag that indicates whether a soft-deleted connectors will be fetched"
50+
"description": "A flag indicating whether to return connectors that have been soft-deleted."
5151
}
5252
}
5353
}

specification/_json_spec/indices.exists_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
},
3131
"master_timeout": {
3232
"type": "time",
33-
"description": "Explicit operation timeout for connection to master node"
33+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3434
},
3535
"local": {
36+
"deprecated": true,
3637
"type": "boolean",
3738
"description": "Return local information, do not retrieve the state from master node (default: false)"
3839
}

specification/_json_spec/indices.get_index_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
},
3535
"master_timeout": {
3636
"type": "time",
37-
"description": "Explicit operation timeout for connection to master node"
37+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3838
},
3939
"local": {
40+
"deprecated": true,
4041
"type": "boolean",
4142
"description": "Return local information, do not retrieve the state from master node (default: false)"
4243
},

specification/_json_spec/indices.get_template.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@
3434
},
3535
"master_timeout": {
3636
"type": "time",
37-
"description": "Explicit operation timeout for connection to master node"
37+
"description": "Timeout for waiting for new cluster state in case it is blocked"
3838
},
3939
"local": {
40+
"deprecated": true,
4041
"type": "boolean",
4142
"description": "Return local information, do not retrieve the state from master node (default: false)"
4243
}

specification/_json_spec/indices.rollover.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@
5959
"type": "boolean",
6060
"default": "false",
6161
"description": "If set to true, the rollover action will only mark a data stream to signal that it needs to be rolled over at the next write. Only allowed on data streams."
62-
},
63-
"target_failure_store": {
64-
"type": "boolean",
65-
"description": "If set to true, the rollover action will be applied on the failure store of the data stream.",
66-
"visibility": "feature_flag",
67-
"feature_flag": "es.failure_store_feature_flag_enabled"
6862
}
6963
},
7064
"body": {

specification/_json_spec/license.post_start_trial.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@
2929
"master_timeout": {
3030
"type": "time",
3131
"description": "Timeout for processing on master node"
32-
},
33-
"timeout": {
34-
"type": "time",
35-
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3632
}
3733
}
3834
}

specification/_json_spec/migrate.cancel_reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"migrate.cancel_reindex": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-stream-reindex.html",
5-
"description": "This API cancels migration reindex attempt for a data stream or index"
5+
"description": "This API returns the status of a migration reindex attempt for a data stream or index"
66
},
77
"stability": "experimental",
88
"visibility": "private",

specification/_json_spec/migrate.create_from.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
]
3030
},
3131
"body": {
32-
"description": "The body contains the fields `mappings_override` and `settings_override`.",
32+
"description": "The body contains the fields `mappings_override`, `settings_override`, and `remove_index_blocks`.",
3333
"required": false
3434
}
3535
}

specification/_json_spec/migrate.reindex.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
]
2020
},
2121
"body": {
22-
"description": "The body contains the fields `mode` and `source.index`, where the only mode currently supported is `upgrade`, and the `source.index` must be a data stream name",
22+
"description": "The body contains the fields `mode` and `source.index, where the only mode currently supported is `upgrade`, and the `source.index` must be a data stream name",
2323
"required": true
2424
}
2525
}

specification/_json_spec/shutdown.delete_node.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@
2424
}
2525
]
2626
},
27-
"params": {}
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Explicit operation timeout for connection to master node"
31+
},
32+
"timeout": {
33+
"type": "time",
34+
"description": "Explicit operation timeout"
35+
}
36+
}
2837
}
2938
}

specification/_json_spec/shutdown.put_node.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@
2424
}
2525
]
2626
},
27-
"params": {},
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Explicit operation timeout for connection to master node"
31+
},
32+
"timeout": {
33+
"type": "time",
34+
"description": "Explicit operation timeout"
35+
}
36+
},
2837
"body": {
2938
"description": "The shutdown type definition to register",
3039
"required": true

specification/_json_spec/xpack.info.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
]
1919
},
2020
"params": {
21+
"human": {
22+
"type": "boolean",
23+
"required": false,
24+
"description": "Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line. The default value is true.",
25+
"default": true
26+
},
2127
"categories": {
2228
"type": "list",
2329
"description": "Comma-separated list of info categories. Can be any of: build, license, features"

0 commit comments

Comments
 (0)