Skip to content

Commit a7a79dc

Browse files
Update rest-api-spec main (#720)
Co-authored-by: delvedor <[email protected]>
1 parent a02db98 commit a7a79dc

File tree

6 files changed

+71
-9
lines changed

6 files changed

+71
-9
lines changed

output/schema/schema.json

Lines changed: 27 additions & 3 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: 8 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/indices.delete.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"expand_wildcards": {
4444
"type": "enum",
4545
"options": ["open", "closed", "hidden", "none", "all"],
46-
"default": "open",
47-
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
46+
"default": "open,closed",
47+
"description": "Whether wildcard expressions should get expanded to open, closed, or hidden indices"
4848
}
4949
}
5050
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"ml.put_trained_model_vocabulary": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html",
5+
"description": "Creates a trained model vocabulary"
6+
},
7+
"stability": "experimental",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_ml/trained_models/{model_id}/vocabulary",
17+
"methods": ["PUT"],
18+
"parts": {
19+
"model_id": {
20+
"type": "string",
21+
"description": "The ID of the trained model for this vocabulary"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"body": {
28+
"description": "The trained model vocabulary",
29+
"required": true
30+
}
31+
}
32+
}

specification/_json_spec/nodes.clear_metering_archive.json renamed to specification/_json_spec/nodes.clear_repositories_metering_archive.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"nodes.clear_metering_archive": {
2+
"nodes.clear_repositories_metering_archive": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html",
55
"description": "Removes the archived repositories metering information present in the cluster."

specification/_json_spec/nodes.get_metering_info.json renamed to specification/_json_spec/nodes.get_repositories_metering_info.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"nodes.get_metering_info": {
2+
"nodes.get_repositories_metering_info": {
33
"documentation": {
44
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html",
55
"description": "Returns cluster repositories metering information."

0 commit comments

Comments
 (0)