Skip to content

Commit 769f7c7

Browse files
Update rest-api-spec
1 parent c6c90c1 commit 769f7c7

12 files changed

+257
-40
lines changed

output/schema/schema.json

Lines changed: 97 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"_internal.delete_desired_balance": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-balance.html",
5+
"description": "This API is a diagnostics API and the output should not be relied upon for building applications."
6+
},
7+
"stability": "experimental",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_internal/desired_balance",
16+
"methods": ["DELETE"]
17+
}
18+
]
19+
}
20+
}
21+
}

specification/_json_spec/indices.delete_data_lifecycle.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-delete-lifecycle.html",
55
"description": "Deletes the data lifecycle of the selected data streams."
66
},
7-
"stability": "stable",
7+
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]
1111
},
1212
"url": {
1313
"paths": [
14-
{
15-
"path": "/_data_stream/_lifecycle",
16-
"methods": ["DELETE"]
17-
},
1814
{
1915
"path": "/_data_stream/{name}/_lifecycle",
2016
"methods": ["DELETE"],

specification/_json_spec/indices.get_data_lifecycle.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-get-lifecycle.html",
55
"description": "Returns the data lifecycle of the selected data streams."
66
},
7-
"stability": "stable",
7+
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]
1111
},
1212
"url": {
1313
"paths": [
14-
{
15-
"path": "/_data_stream/_lifecycle",
16-
"methods": ["GET"]
17-
},
1814
{
1915
"path": "/_data_stream/{name}/_lifecycle",
2016
"methods": ["GET"],

specification/_json_spec/indices.put_data_lifecycle.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/dlm-put-lifecycle.html",
55
"description": "Updates the data lifecycle of the selected data streams."
66
},
7-
"stability": "stable",
7+
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
1010
"accept": ["application/json"]
1111
},
1212
"url": {
1313
"paths": [
14-
{
15-
"path": "/_data_stream/_lifecycle",
16-
"methods": ["PUT"]
17-
},
1814
{
1915
"path": "/_data_stream/{name}/_lifecycle",
2016
"methods": ["PUT"],

specification/_json_spec/ml.put_trained_model.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
"type": "boolean",
3131
"description": "If set to `true` and a `compressed_definition` is provided, the request defers definition decompression and skips relevant validations.",
3232
"default": false
33+
},
34+
"wait_for_completion": {
35+
"required": false,
36+
"type": "boolean",
37+
"description": "Whether to wait for all child operations(e.g. model download) to complete, before returning or not. Default to false",
38+
"default": false
3339
}
3440
},
3541
"body": {

specification/_json_spec/ml.start_trained_model_deployment.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
"description": "A byte-size value for configuring the inference cache size. For example, 20mb.",
3232
"required": false
3333
},
34+
"deployment_id": {
35+
"type": "string",
36+
"description": "The Id of the new deployment. Defaults to the model_id if not set.",
37+
"required": false
38+
},
3439
"number_of_allocations": {
3540
"type": "int",
3641
"description": "The total number of allocations this model is assigned across machine learning nodes.",

specification/_json_spec/search_application.post_behavioral_analytics_event.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Creates a behavioral analytics event for existing collection."
66
},
77
"stability": "experimental",
8-
"visibility": "feature_flag",
9-
"feature_flag": "xpack.ent-search.enabled",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"],
1211
"content_type": ["application/json"]
@@ -29,6 +28,12 @@
2928
}
3029
]
3130
},
31+
"params": {
32+
"debug": {
33+
"type": "boolean",
34+
"description": "If true, returns event information that will be stored"
35+
}
36+
},
3237
"body": {
3338
"description": "The event definition",
3439
"required": true

0 commit comments

Comments
 (0)