Feature: Add Merge Snapshot API

Is part of Issue #176
This commit is contained in:
Mauro Regli
2023-03-10 10:58:41 +01:00
committed by Benj Fassbind
parent 90932cdac5
commit 77e02bf7a3
3 changed files with 178 additions and 2 deletions
+1
View File
@@ -159,6 +159,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
root.GET("/snapshots/:name/packages", apiSnapshotsSearchPackages)
root.DELETE("/snapshots/:name", apiSnapshotsDrop)
root.GET("/snapshots/:name/diff/:withSnapshot", apiSnapshotsDiff)
root.POST("/snapshots/merge", apiSnapshotsMerge)
}
{