mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-08 05:50:47 +00:00
Publish update/drop APIs, rework prefix, move publishing APIs. #116
This commit is contained in:
+2
-2
@@ -54,8 +54,8 @@ func Router(c *ctx.AptlyContext) http.Handler {
|
||||
|
||||
{
|
||||
root.GET("/publish", apiPublishList)
|
||||
root.POST("/publish/:prefix/repos", apiPublishRepoOrSnapshot)
|
||||
root.POST("/publish/:prefix/snapshots", apiPublishRepoOrSnapshot)
|
||||
root.POST("/publish", apiPublishRepoOrSnapshot)
|
||||
root.POST("/publish/:prefix", apiPublishRepoOrSnapshot)
|
||||
root.PUT("/publish/:prefix/:distribution", apiPublishUpdateSwitch)
|
||||
root.DELETE("/publish/:prefix/:distribution", apiPublishDrop)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user