Skip to content

Commit c5da713

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent e64428b commit c5da713

File tree

5 files changed

+60
-5
lines changed

5 files changed

+60
-5
lines changed

output/schema/schema.json

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

specification/_json_spec/indices.get_data_stream_mappings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Gets a data stream's mappings"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "logs_stream",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"]
1211
},

specification/_json_spec/indices.put_data_stream_mappings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Updates a data stream's mappings"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "logs_stream",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"]
1211
},

specification/_json_spec/simulate.ingest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
},
3636
"merge_type": {
3737
"type": "string",
38-
"description": "The method to be used when merging mapping_additions existing mappings"
38+
"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.",
39+
"default": "index"
3940
}
4041
},
4142
"body": {
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"transform.set_upgrade_mode": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-set-upgrade-mode.html",
5+
"description": "Sets a cluster wide upgrade_mode setting that prepares transform indices for an upgrade."
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"]
11+
},
12+
"url": {
13+
"paths": [
14+
{
15+
"path": "/_transform/set_upgrade_mode",
16+
"methods": ["POST"]
17+
}
18+
]
19+
},
20+
"params": {
21+
"enabled": {
22+
"type": "boolean",
23+
"description": "Whether to enable upgrade_mode Transform setting or not. Defaults to false."
24+
},
25+
"timeout": {
26+
"type": "time",
27+
"description": "Controls the time to wait before action times out. Defaults to 30 seconds"
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)