You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the REST API endpoint for creating snapshots (#4718)
* Update the REST API endpoint for creating snapshots
* Fix REST Api due to constructor issues on generated code
* Fix client usage due to rest api rename
* Fix incorrect redirect at UI root
Copy file name to clipboardexpand all lines: common/src/main/resources/META-INF/openapi.json
+25-4
Original file line number
Diff line number
Diff line change
@@ -2482,18 +2482,24 @@
2482
2482
"description": "Gets a list of all the configured artifact types.\n\nThis operation can fail for the following reasons:\n\n* A server error occurred (HTTP error `500`)\n"
2483
2483
}
2484
2484
},
2485
-
"/admin/config/triggerSnapshot": {
2485
+
"/admin/snapshots": {
2486
2486
"summary": "Triggers a snapshot of the Registry storage. Only supported in KafkaSQL storage",
2487
-
"get": {
2487
+
"post": {
2488
2488
"tags": [
2489
2489
"KafkaSQL",
2490
2490
"Admin",
2491
2491
"Snapshot"
2492
2492
],
2493
2493
"responses": {
2494
2494
"200": {
2495
-
"content": {},
2496
-
"description": "Empty content. A 200 means that the snapshot has been successfully triggered."
2495
+
"content": {
2496
+
"application/json": {
2497
+
"schema": {
2498
+
"$ref": "#/components/schemas/SnapshotMetaData"
2499
+
}
2500
+
}
2501
+
},
2502
+
"description": "The snapshot has been successfully triggered."
// Post triggers the creation of a snapshot of the internal database for compatible storages.This operation can fail for the following reasons:* A server error occurred (HTTP error `500`)
// ToPostRequestInformation triggers the creation of a snapshot of the internal database for compatible storages.This operation can fail for the following reasons:* A server error occurred (HTTP error `500`)
0 commit comments