Skip to content

Commit 17c6066

Browse files
timgreingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 379de4f commit 17c6066

14 files changed

+535
-20
lines changed

output/schema/schema.json

Lines changed: 218 additions & 5 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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,12 @@
127127
],
128128
"response": []
129129
},
130+
"snapshot.get": {
131+
"request": [
132+
"Request: missing json spec query parameter 'state'"
133+
],
134+
"response": []
135+
},
130136
"snapshot.repository_analyze": {
131137
"request": [
132138
"Request: query parameter 'register_operation_count' does not exist in the json spec"

specification/_json_spec/esql.list_queries.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"stability": "experimental",
88
"visibility": "public",
99
"headers": {
10-
"accept": [],
10+
"accept": ["application/json"],
1111
"content_type": ["application/json"]
1212
},
1313
"url": {
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"indices.get_data_stream_mappings": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html",
5+
"description": "Gets a data stream's mappings"
6+
},
7+
"stability": "stable",
8+
"visibility": "feature_flag",
9+
"feature_flag": "logs_stream",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_data_stream/{name}/_mappings",
17+
"methods": ["GET"],
18+
"parts": {
19+
"name": {
20+
"type": "string",
21+
"description": "Comma-separated list of data streams or data stream patterns"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Period to wait for a connection to the master node"
31+
}
32+
}
33+
}
34+
}

specification/_json_spec/indices.get_data_stream_settings.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Gets a data stream's settings"
66
},
77
"stability": "stable",
8-
"visibility": "feature_flag",
9-
"feature_flag": "logs_stream",
8+
"visibility": "public",
109
"headers": {
1110
"accept": ["application/json"]
1211
},
@@ -18,20 +17,16 @@
1817
"parts": {
1918
"name": {
2019
"type": "string",
21-
"description": "The name of the data stream or data stream pattern"
20+
"description": "Comma-separated list of data streams or data stream patterns"
2221
}
2322
}
2423
}
2524
]
2625
},
2726
"params": {
28-
"timeout": {
29-
"type": "time",
30-
"description": "Specify timeout for acknowledging the cluster state update"
31-
},
3227
"master_timeout": {
3328
"type": "time",
34-
"description": "Specify timeout for connection to master"
29+
"description": "Period to wait for a connection to the master node"
3530
}
3631
}
3732
}

0 commit comments

Comments
 (0)