mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
Add API endpoint suitable for dput.
This commit is contained in:
1 parent
1224708283
commit
12390f102e
2 files changed
+63
No files matched your search
@@ -182,6 +182,7 @@ func Router(c *ctx.AptlyContext) http.Handler {
|
||||
{
|
||||
api.GET("/files", apiFilesListDirs)
|
||||
api.POST("/files/:dir", apiFilesUpload)
|
||||
api.PUT("/files/:dir/:file", apiFilesUploadOne)
|
||||
api.GET("/files/:dir", apiFilesListFiles)
|
||||
api.DELETE("/files/:dir", apiFilesDeleteDir)
|
||||
api.DELETE("/files/:dir/:name", apiFilesDeleteFile)
|
||||
|
||||
Reference in new issue
Block a user