Skip to content

Update rest-api-spec main #5030

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
25 changes: 25 additions & 0 deletions output/schema/schema.json

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

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"description": "Gets a data stream's mappings"
},
"stability": "stable",
"visibility": "feature_flag",
"feature_flag": "logs_stream",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"description": "Updates a data stream's mappings"
},
"stability": "stable",
"visibility": "feature_flag",
"feature_flag": "logs_stream",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
Expand Down
3 changes: 2 additions & 1 deletion specification/_json_spec/simulate.ingest.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
},
"merge_type": {
"type": "string",
"description": "The method to be used when merging mapping_additions existing mappings"
"description": "The mapping merge type if mapping overrides are being provided in mapping_addition. The allowed values are one of index or template. The index option merges mappings the way they would be merged into an existing index. The template option merges mappings the way they would be merged into a template.",
"default": "index"
}
},
"body": {
Expand Down
31 changes: 31 additions & 0 deletions specification/_json_spec/transform.set_upgrade_mode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"transform.set_upgrade_mode": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-set-upgrade-mode.html",
"description": "Sets a cluster wide upgrade_mode setting that prepares transform indices for an upgrade."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_transform/set_upgrade_mode",
"methods": ["POST"]
}
]
},
"params": {
"enabled": {
"type": "boolean",
"description": "Whether to enable upgrade_mode Transform setting or not. Defaults to false."
},
"timeout": {
"type": "time",
"description": "Controls the time to wait before action times out. Defaults to 30 seconds"
}
}
}
}