Skip to content

Commit af34cbf

Browse files
Update rest-api-spec (#5447)
Co-authored-by: pquentin <[email protected]>
1 parent c105256 commit af34cbf

File tree

284 files changed

+697
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+697
-43
lines changed

output/schema/validation-errors.json

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
{
2-
"endpointErrors": {
3-
"cat.segments": {
4-
"request": [
5-
"Request: query parameter 'expand_wildcards' does not exist in the json spec",
6-
"Request: query parameter 'allow_no_indices' does not exist in the json spec",
7-
"Request: query parameter 'ignore_throttled' does not exist in the json spec",
8-
"Request: query parameter 'ignore_unavailable' does not exist in the json spec",
9-
"Request: query parameter 'allow_closed' does not exist in the json spec"
10-
],
11-
"response": []
12-
}
13-
},
2+
"endpointErrors": {},
143
"generalErrors": [
154
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
165
"Dangling type '_global.scripts_painless_execute:PainlessScript'",

specification/_json_spec/_internal.delete_desired_balance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23+
"default": "30s",
2324
"description": "Timeout for connection to master node"
2425
}
2526
}

specification/_json_spec/_internal.delete_desired_nodes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23+
"default": "30s",
2324
"description": "Timeout for connection to master node"
2425
},
2526
"timeout": {

specification/_json_spec/_internal.get_desired_balance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23+
"default": "30s",
2324
"description": "Timeout for connection to master node"
2425
}
2526
}

specification/_json_spec/_internal.prevalidate_node_removal.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"master_timeout": {
3434
"type": "time",
35+
"default": "30s",
3536
"description": "Explicit operation timeout for connection to master node"
3637
},
3738
"timeout": {

specification/_json_spec/async_search.status.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"params": {
2727
"keep_alive": {
2828
"type": "time",
29+
"default": "5d",
2930
"description": "Specify the time interval in which the results (partial or final) for this search will be available"
3031
}
3132
}

specification/_json_spec/async_search.submit.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
},
5252
"request_cache": {
5353
"type": "boolean",
54+
"default": true,
5455
"description": "Specify if request cache should be used for this request or not, defaults to true"
5556
},
5657
"analyzer": {

specification/_json_spec/autoscaling.delete_autoscaling_policy.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@
2626
"params": {
2727
"master_timeout": {
2828
"type": "time",
29+
"default": "30s",
2930
"description": "Timeout for processing on master node"
3031
},
3132
"timeout": {
3233
"type": "time",
34+
"default": "30s",
3335
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3436
}
3537
}

specification/_json_spec/autoscaling.get_autoscaling_capacity.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"params": {
2121
"master_timeout": {
2222
"type": "time",
23+
"default": "30s",
2324
"description": "Timeout for processing on master node"
2425
}
2526
}

specification/_json_spec/autoscaling.get_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"params": {
2727
"master_timeout": {
2828
"type": "time",
29+
"default": "30s",
2930
"description": "Timeout for processing on master node"
3031
}
3132
}

0 commit comments

Comments
 (0)