Skip to content

Commit 660add3

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

File tree

6 files changed

+24
-20
lines changed

6 files changed

+24
-20
lines changed

output/schema/schema.json

Lines changed: 5 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": {

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
}

specification/_json_spec/indices.put_data_stream_settings.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"description": "Updates 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,7 +17,7 @@
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
}
@@ -27,16 +26,16 @@
2726
"params": {
2827
"dry_run": {
2928
"type": "boolean",
30-
"description": "Perform a dry run but do not actually change any settings",
29+
"description": "Whether this request should only be a dry run rather than actually applying settings",
3130
"default": false
3231
},
3332
"timeout": {
3433
"type": "time",
35-
"description": "Specify timeout for acknowledging the cluster state update"
34+
"description": "Period to wait for a response"
3635
},
3736
"master_timeout": {
3837
"type": "time",
39-
"description": "Specify timeout for connection to master"
38+
"description": "Period to wait for a connection to the master node"
4039
}
4140
},
4241
"body": {

specification/_json_spec/snapshot.get.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@
9191
"verbose": {
9292
"type": "boolean",
9393
"description": "Whether to show verbose snapshot info or only show the basic info found in the repository index blob"
94+
},
95+
"state": {
96+
"type": "list",
97+
"description": "Filter snapshots by a comma-separated list of states. Valid state values are 'SUCCESS', 'IN_PROGRESS', 'FAILED', 'PARTIAL', or 'INCOMPATIBLE'."
9498
}
9599
}
96100
}

0 commit comments

Comments
 (0)