Skip to content

Commit 9de35c9

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent fe668b9 commit 9de35c9

9 files changed

+24
-52
lines changed

output/schema/validation-errors.json

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,6 @@
1212
],
1313
"response": []
1414
},
15-
"cat.help": {
16-
"request": [
17-
"Request: missing json spec query parameter 'help'",
18-
"Request: missing json spec query parameter 's'"
19-
],
20-
"response": []
21-
},
22-
"cat.segments": {
23-
"request": [
24-
"Request: query parameter 'local' does not exist in the json spec",
25-
"Request: query parameter 'master_timeout' does not exist in the json spec"
26-
],
27-
"response": []
28-
},
29-
"cat.tasks": {
30-
"request": [
31-
"Request: query parameter 'timeout' does not exist in the json spec",
32-
"Request: query parameter 'wait_for_completion' does not exist in the json spec"
33-
],
34-
"response": []
35-
},
3615
"cluster.get_component_template": {
3716
"request": [
3817
"Request: query parameter 'flat_settings' does not exist in the json spec"
@@ -197,6 +176,12 @@
197176
],
198177
"response": []
199178
},
179+
"ml.start_trained_model_deployment": {
180+
"request": [
181+
"Request: should not have a body"
182+
],
183+
"response": []
184+
},
200185
"ml.stop_datafeed": {
201186
"request": [
202187
"Request: missing json spec query parameter 'allow_no_datafeeds'"

specification/_json_spec/cat.help.json

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,6 @@
1616
"methods": ["GET"]
1717
}
1818
]
19-
},
20-
"params": {
21-
"help": {
22-
"type": "boolean",
23-
"description": "Return help information",
24-
"default": false
25-
},
26-
"s": {
27-
"type": "list",
28-
"description": "Comma-separated list of column names or column aliases to sort by"
29-
}
3019
}
3120
}
3221
}

specification/_json_spec/cat.segments.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
"type": "string",
3333
"description": "a short version of the Accept header, e.g. json, yaml"
3434
},
35+
"local": {
36+
"type": "boolean",
37+
"description": "Return local information, do not retrieve the state from master node (default: false)"
38+
},
39+
"master_timeout": {
40+
"type": "time",
41+
"description": "Explicit operation timeout for connection to master node"
42+
},
3543
"bytes": {
3644
"type": "enum",
3745
"description": "The unit in which to display byte values",

specification/_json_spec/cat.tasks.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@
6060
"type": "boolean",
6161
"description": "Verbose mode. Display column headers",
6262
"default": false
63+
},
64+
"timeout": {
65+
"type": "time",
66+
"default": "30s",
67+
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
68+
},
69+
"wait_for_completion": {
70+
"type": "boolean",
71+
"default": false,
72+
"description": "If `true`, the request blocks until the task has completed."
6373
}
6474
}
6575
}

specification/_json_spec/ml.start_trained_model_deployment.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,6 @@
7373
"options": ["starting", "started", "fully_allocated"],
7474
"default": "started"
7575
}
76-
},
77-
"body": {
78-
"description": "The settings for the trained model deployment",
79-
"required": false
8076
}
8177
}
8278
}

specification/_json_spec/search_application.delete_behavioral_analytics.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
},
77
"stability": "experimental",
88
"visibility": "public",
9-
"deprecated": {
10-
"version": "9.0.0",
11-
"description": "Behavioral Analytics has been deprecated and will be removed in a future release."
12-
},
139
"headers": {
1410
"accept": ["application/json"]
1511
},

specification/_json_spec/search_application.get_behavioral_analytics.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
},
77
"stability": "experimental",
88
"visibility": "public",
9-
"deprecated": {
10-
"version": "9.0.0",
11-
"description": "Behavioral Analytics has been deprecated and will be removed in a future release."
12-
},
139
"headers": {
1410
"accept": ["application/json"]
1511
},

specification/_json_spec/search_application.post_behavioral_analytics_event.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
},
77
"stability": "experimental",
88
"visibility": "public",
9-
"deprecated": {
10-
"version": "9.0.0",
11-
"description": "Behavioral Analytics has been deprecated and will be removed in a future release."
12-
},
139
"headers": {
1410
"accept": ["application/json"],
1511
"content_type": ["application/json"]

specification/_json_spec/search_application.put_behavioral_analytics.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
},
77
"stability": "experimental",
88
"visibility": "public",
9-
"deprecated": {
10-
"version": "9.0.0",
11-
"description": "Behavioral Analytics has been deprecated and will be removed in a future release."
12-
},
139
"headers": {
1410
"accept": ["application/json"]
1511
},

0 commit comments

Comments
 (0)