Skip to content

Commit 99a0765

Browse files
Update rest-api-spec (#3263)
Co-authored-by: pquentin <[email protected]>
1 parent a66e0be commit 99a0765

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
}

0 commit comments

Comments
 (0)