Skip to content

Update rest-api-spec main #720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 27 additions & 3 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions output/schema/validation-errors.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions specification/_json_spec/indices.delete.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
"default": "open,closed",
"description": "Whether wildcard expressions should get expanded to open, closed, or hidden indices"
}
}
}
Expand Down
32 changes: 32 additions & 0 deletions specification/_json_spec/ml.put_trained_model_vocabulary.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"ml.put_trained_model_vocabulary": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/put-trained-model-vocabulary.html",
"description": "Creates a trained model vocabulary"
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_ml/trained_models/{model_id}/vocabulary",
"methods": ["PUT"],
"parts": {
"model_id": {
"type": "string",
"description": "The ID of the trained model for this vocabulary"
}
}
}
]
},
"body": {
"description": "The trained model vocabulary",
"required": true
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"nodes.clear_metering_archive": {
"nodes.clear_repositories_metering_archive": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-repositories-metering-archive-api.html",
"description": "Removes the archived repositories metering information present in the cluster."
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"nodes.get_metering_info": {
"nodes.get_repositories_metering_info": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/get-repositories-metering-api.html",
"description": "Returns cluster repositories metering information."
Expand Down