feat(backend): add mod management API endpoints
This commit is contained in:
@@ -80,6 +80,10 @@ func (h *Handler) SetupRoutes(r *gin.Engine) {
|
||||
api.GET("/modlists/:id/check", h.CheckModlistMods)
|
||||
api.POST("/modlists/:id/download-missing", h.DownloadMissingMods)
|
||||
api.POST("/modlists/:id/update-all", h.UpdateAllMods)
|
||||
|
||||
api.GET("/mods", h.ListMods)
|
||||
api.DELETE("/mods", h.DeleteMod)
|
||||
api.POST("/mods/cleanup", h.CleanupMods)
|
||||
}
|
||||
|
||||
r.GET("/ws/server/logs", h.StreamLogs)
|
||||
|
||||
Reference in New Issue
Block a user