make REST api more restful

This commit is contained in:
André Roth committed 2024-10-03 14:51:45 +02:00
1 parent a3078fa93e
commit 06b2b920da
3 files changed
+17 -25

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
api.DELETE("/snapshots/:name", apiSnapshotsDrop)
api.GET("/snapshots/:name/diff/:withSnapshot", apiSnapshotsDiff)
api.POST("/snapshots/merge", apiSnapshotsMerge)
api.POST("/snapshots/pull", apiSnapshotsPull)
api.POST("/snapshots/:name/pull", apiSnapshotsPull)
}
{