Skip to content

Commit 894352c

Browse files
Update rest-api-spec (#5324)
Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com>
1 parent 01a551b commit 894352c

File tree

207 files changed

+292
-230
lines changed

Some content is hidden

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

207 files changed

+292
-230
lines changed

output/schema/validation-errors.json

Lines changed: 0 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,121 +1,5 @@
11
{
22
"endpointErrors": {
3-
"cat.aliases": {
4-
"request": [
5-
"Request: query parameter 'bytes' does not exist in the json spec",
6-
"Request: query parameter 'time' does not exist in the json spec"
7-
],
8-
"response": []
9-
},
10-
"cat.allocation": {
11-
"request": [
12-
"Request: query parameter 'time' does not exist in the json spec"
13-
],
14-
"response": []
15-
},
16-
"cat.component_templates": {
17-
"request": [
18-
"Request: query parameter 'bytes' does not exist in the json spec",
19-
"Request: query parameter 'time' does not exist in the json spec"
20-
],
21-
"response": []
22-
},
23-
"cat.count": {
24-
"request": [
25-
"Request: query parameter 'bytes' does not exist in the json spec",
26-
"Request: query parameter 'time' does not exist in the json spec"
27-
],
28-
"response": []
29-
},
30-
"cat.fielddata": {
31-
"request": [
32-
"Request: query parameter 'time' does not exist in the json spec"
33-
],
34-
"response": []
35-
},
36-
"cat.health": {
37-
"request": [
38-
"Request: query parameter 'bytes' does not exist in the json spec"
39-
],
40-
"response": []
41-
},
42-
"cat.master": {
43-
"request": [
44-
"Request: query parameter 'bytes' does not exist in the json spec",
45-
"Request: query parameter 'time' does not exist in the json spec"
46-
],
47-
"response": []
48-
},
49-
"cat.ml_datafeeds": {
50-
"request": [
51-
"Request: query parameter 'bytes' does not exist in the json spec"
52-
],
53-
"response": []
54-
},
55-
"cat.nodeattrs": {
56-
"request": [
57-
"Request: query parameter 'bytes' does not exist in the json spec",
58-
"Request: query parameter 'time' does not exist in the json spec"
59-
],
60-
"response": []
61-
},
62-
"cat.pending_tasks": {
63-
"request": [
64-
"Request: query parameter 'bytes' does not exist in the json spec"
65-
],
66-
"response": []
67-
},
68-
"cat.plugins": {
69-
"request": [
70-
"Request: query parameter 'bytes' does not exist in the json spec",
71-
"Request: query parameter 'time' does not exist in the json spec"
72-
],
73-
"response": []
74-
},
75-
"cat.repositories": {
76-
"request": [
77-
"Request: query parameter 'bytes' does not exist in the json spec",
78-
"Request: query parameter 'time' does not exist in the json spec"
79-
],
80-
"response": []
81-
},
82-
"cat.segments": {
83-
"request": [
84-
"Request: query parameter 'time' does not exist in the json spec"
85-
],
86-
"response": []
87-
},
88-
"cat.snapshots": {
89-
"request": [
90-
"Request: query parameter 'bytes' does not exist in the json spec"
91-
],
92-
"response": []
93-
},
94-
"cat.tasks": {
95-
"request": [
96-
"Request: query parameter 'bytes' does not exist in the json spec"
97-
],
98-
"response": []
99-
},
100-
"cat.templates": {
101-
"request": [
102-
"Request: query parameter 'bytes' does not exist in the json spec",
103-
"Request: query parameter 'time' does not exist in the json spec"
104-
],
105-
"response": []
106-
},
107-
"cat.thread_pool": {
108-
"request": [
109-
"Request: query parameter 'bytes' does not exist in the json spec"
110-
],
111-
"response": []
112-
},
113-
"cat.transforms": {
114-
"request": [
115-
"Request: query parameter 'bytes' does not exist in the json spec"
116-
],
117-
"response": []
118-
},
1193
"streams.status": {
1204
"request": [
1215
"Request: query parameter 'master_timeout' does not exist in the json spec"

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/autoscaling.delete_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
"timeout": {

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
}

specification/_json_spec/autoscaling.put_autoscaling_policy.json

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

specification/_json_spec/cat.aliases.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
"options": ["open", "closed", "hidden", "none", "all"],
6161
"default": "all",
6262
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
63+
},
64+
"bytes": {
65+
"type": "enum",
66+
"description": "The unit in which to display byte values",
67+
"options": ["b", "kb", "mb", "gb", "tb", "pb"]
68+
},
69+
"time": {
70+
"type": "enum",
71+
"description": "The unit in which to display time values",
72+
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
6373
}
6474
}
6575
}

0 commit comments

Comments
 (0)