Include endpoints for getting active downloads for a server

This commit is contained in:
Dane Everitt
2020-12-20 13:14:07 -08:00
parent f8282c56cb
commit 184013b652
3 changed files with 52 additions and 18 deletions

View File

@@ -82,13 +82,15 @@ func Configure() *gin.Engine {
files.PUT("/rename", putServerRenameFiles)
files.POST("/copy", postServerCopyFile)
files.POST("/write", postServerWriteFile)
files.POST("/pull", postServerPullRemoteFile)
files.DELETE("/pull/:download", deleteServerPullRemoteFile)
files.POST("/create-directory", postServerCreateDirectory)
files.POST("/delete", postServerDeleteFiles)
files.POST("/compress", postServerCompressFiles)
files.POST("/decompress", postServerDecompressFiles)
files.POST("/chmod", postServerChmodFile)
files.GET("/pull", getServerPullingFiles)
files.POST("/pull", postServerPullRemoteFile)
files.DELETE("/pull/:download", deleteServerPullRemoteFile)
}
backup := server.Group("/backup")