Skip to content

Commit 6264cab

Browse files
authored
[9.1] rest-api-spec: specify master_timeout default value (#134525) (#134876)
* rest-api-spec: specify master_timeout default value (#134525) (cherry picked from commit 3d8f78b) # Conflicts: # rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json # rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_data_stream_mappings.json # rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_data_stream_mappings.json * Restore cluster_state description
1 parent 3ffc3b1 commit 6264cab

File tree

156 files changed

+160
-8
lines changed

Some content is hidden

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

156 files changed

+160
-8
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_balance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"params": {
2525
"master_timeout": {
2626
"type": "time",
27+
"default": "30s",
2728
"description": "Timeout for connection to master node"
2829
}
2930
}

rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_nodes.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"params": {
2525
"master_timeout": {
2626
"type": "time",
27+
"default": "30s",
2728
"description": "Timeout for connection to master node"
2829
},
2930
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/_internal.get_desired_balance.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"params": {
2525
"master_timeout": {
2626
"type": "time",
27+
"default": "30s",
2728
"description": "Timeout for connection to master node"
2829
}
2930
}

rest-api-spec/src/main/resources/rest-api-spec/api/_internal.prevalidate_node_removal.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
},
3737
"master_timeout": {
3838
"type": "time",
39+
"default": "30s",
3940
"description": "Explicit operation timeout for connection to master node"
4041
},
4142
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33+
"default": "30s",
3334
"description": "Timeout for processing on master node"
3435
},
3536
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"params": {
2525
"master_timeout": {
2626
"type": "time",
27+
"default": "30s",
2728
"description": "Timeout for processing on master node"
2829
}
2930
}

rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"params": {
3131
"master_timeout": {
3232
"type": "time",
33+
"default": "30s",
3334
"description": "Timeout for processing on master node"
3435
}
3536
}

rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"params": {
3434
"master_timeout": {
3535
"type": "time",
36+
"default": "30s",
3637
"description": "Timeout for processing on master node"
3738
},
3839
"timeout": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
},
7272
"master_timeout": {
7373
"type": "time",
74+
"default": "30s",
7475
"description": "Explicit operation timeout for connection to master node"
7576
},
7677
"h": {

rest-api-spec/src/main/resources/rest-api-spec/api/cat.component_templates.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
},
4747
"master_timeout": {
4848
"type": "time",
49+
"default": "30s",
4950
"description": "Explicit operation timeout for connection to master node"
5051
},
5152
"h": {

0 commit comments

Comments
 (0)