Skip to content

Commit 4f5a5c8

Browse files
Update rest-api-spec
1 parent 71a08e0 commit 4f5a5c8

8 files changed

+135
-2
lines changed

output/schema/schema.json

Lines changed: 42 additions & 0 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: 15 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.get_desired_balance": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-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": ["GET"]
17+
}
18+
]
19+
}
20+
}
21+
}

specification/_json_spec/_internal.health.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
"type": "time",
3333
"description": "Explicit operation timeout"
3434
},
35-
"explain": {
35+
"verbose": {
3636
"type": "boolean",
37-
"description": "Include details on returned indicators",
37+
"description": "Opt in for more information about the health of the system",
3838
"default": true
3939
}
4040
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"_internal.prevalidate_node_removal": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/prevalidate-node-removal-api.html",
5+
"description": "Prevalidates node removal from the cluster"
6+
},
7+
"stability": "stable",
8+
"visibility": "private",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_internal/prevalidate_node_removal",
16+
"methods": ["POST"]
17+
}
18+
]
19+
},
20+
"params": {
21+
"names": {
22+
"type": "list",
23+
"description": "A comma-separated list of node names to prevalidate"
24+
},
25+
"ids": {
26+
"type": "list",
27+
"description": "A comma-separated list of node IDs to prevalidate"
28+
},
29+
"external_ids": {
30+
"type": "list",
31+
"description": "A comma-separated list of node external IDs to prevalidate"
32+
},
33+
"master_timeout": {
34+
"type": "time",
35+
"description": "Explicit operation timeout for connection to master node"
36+
}
37+
}
38+
}
39+
}

specification/_json_spec/ml.delete_job.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
"type": "boolean",
3434
"description": "Should this request wait until the operation has completed before returning",
3535
"default": true
36+
},
37+
"delete_user_annotations": {
38+
"type": "boolean",
39+
"description": "Should annotations added by the user be deleted",
40+
"default": false
3641
}
3742
}
3843
}

specification/_json_spec/ml.reset_job.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@
2828
"type": "boolean",
2929
"description": "Should this request wait until the operation has completed before returning",
3030
"default": true
31+
},
32+
"delete_user_annotations": {
33+
"type": "boolean",
34+
"description": "Should annotations added by the user be deleted",
35+
"default": false
3136
}
3237
}
3338
}

specification/_json_spec/ml.start_trained_model_deployment.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@
4343
"required": false,
4444
"default": 1
4545
},
46+
"priority": {
47+
"type": "string",
48+
"description": "The deployment priority.",
49+
"required": false,
50+
"default": "normal"
51+
},
4652
"queue_capacity": {
4753
"type": "int",
4854
"description": "Controls how many inference requests are allowed in the queue at a time.",

0 commit comments

Comments
 (0)