Skip to content

Commit 68bf7d2

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent ed872aa commit 68bf7d2

17 files changed

+76
-39
lines changed

output/schema/validation-errors.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,24 @@
122122
],
123123
"response": []
124124
},
125+
"connector.delete": {
126+
"request": [
127+
"Request: missing json spec query parameter 'hard'"
128+
],
129+
"response": []
130+
},
131+
"connector.get": {
132+
"request": [
133+
"Request: missing json spec query parameter 'include_deleted'"
134+
],
135+
"response": []
136+
},
137+
"connector.list": {
138+
"request": [
139+
"Request: missing json spec query parameter 'include_deleted'"
140+
],
141+
"response": []
142+
},
125143
"connector.secret_delete": {
126144
"request": [
127145
"Missing request & response"
@@ -237,8 +255,7 @@
237255
},
238256
"indices.rollover": {
239257
"request": [
240-
"Request: missing json spec query parameter 'lazy'",
241-
"Request: missing json spec query parameter 'target_failure_store'"
258+
"Request: missing json spec query parameter 'lazy'"
242259
],
243260
"response": []
244261
},
@@ -264,8 +281,7 @@
264281
"license.post_start_trial": {
265282
"request": [
266283
"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'"
284+
"Request: missing json spec query parameter 'type'"
269285
],
270286
"response": []
271287
},
@@ -356,20 +372,6 @@
356372
],
357373
"response": []
358374
},
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-
},
373375
"snapshot.clone": {
374376
"request": [
375377
"Request: query parameter 'timeout' does not exist in the json spec"
@@ -411,7 +413,6 @@
411413
},
412414
"xpack.info": {
413415
"request": [
414-
"Request: query parameter 'human' does not exist in the json spec",
415416
"request definition xpack.info:Request / query - Property 'human' is already defined in an ancestor class"
416417
],
417418
"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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@
2424
]
2525
},
2626
"params": {
27+
"hard": {
28+
"type": "boolean",
29+
"default": false,
30+
"description": "If true, the connector doc is deleted. If false, connector doc is marked as deleted (soft-deleted)."
31+
},
2732
"delete_sync_jobs": {
2833
"type": "boolean",
2934
"default": false,

specification/_json_spec/connector.get.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
}
2323
}
2424
]
25+
},
26+
"params": {
27+
"include_deleted": {
28+
"type": "boolean",
29+
"default": false,
30+
"description": "A flag indicating whether to return connectors that have been soft-deleted."
31+
}
2532
}
2633
}
2734
}

specification/_json_spec/connector.list.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
"query": {
4444
"type": "string",
4545
"description": "A search string for querying connectors, filtering results by matching against connector names, descriptions, and index names"
46+
},
47+
"include_deleted": {
48+
"type": "boolean",
49+
"default": false,
50+
"description": "A flag indicating whether to return connectors that have been soft-deleted."
4651
}
4752
}
4853
}

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.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)