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
Copy file name to clipboardexpand all lines: common/src/main/resources/META-INF/openapi.json
+32-4
Original file line number
Diff line number
Diff line change
@@ -2482,18 +2482,34 @@
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
+
"requestBody": {
2489
+
"content": {
2490
+
"application/json": {
2491
+
"schema": {
2492
+
"$ref": "#/components/schemas/CreateSnapshot"
2493
+
}
2494
+
}
2495
+
},
2496
+
"required": true
2497
+
},
2488
2498
"tags": [
2489
2499
"KafkaSQL",
2490
2500
"Admin",
2491
2501
"Snapshot"
2492
2502
],
2493
2503
"responses": {
2494
2504
"200": {
2495
-
"content": {},
2496
-
"description": "Empty content. A 200 means that the snapshot has been successfully triggered."
2505
+
"content": {
2506
+
"application/json": {
2507
+
"schema": {
2508
+
"$ref": "#/components/schemas/SnapshotMetaData"
2509
+
}
2510
+
}
2511
+
},
2512
+
"description": "The snapshot has been successfully triggered."
0 commit comments