add movie download history

This commit is contained in:
Simon Ding
2024-07-23 19:01:24 +08:00
parent d2439480c8
commit 11f7b51eb5
6 changed files with 247 additions and 110 deletions

View File

@@ -62,6 +62,7 @@ func (s *Server) Serve() error {
{
activity.GET("/", HttpHandler(s.GetAllActivities))
activity.DELETE("/:id", HttpHandler(s.RemoveActivity))
activity.GET("/media/:id", HttpHandler(s.GetMediaDownloadHistory))
}
tv := api.Group("/media")