mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-06 08:16:19 +02:00
Add feed route
This commit is contained in:
parent
44518e2015
commit
fa003af8cf
@ -61,6 +61,7 @@ func New() *web.Mux {
|
|||||||
user := web.New()
|
user := web.New()
|
||||||
user.Use(middleware.RequireUser)
|
user.Use(middleware.RequireUser)
|
||||||
user.Get("/api/user/feed", handler.GetUserFeed)
|
user.Get("/api/user/feed", handler.GetUserFeed)
|
||||||
|
user.Get("/api/user/activity", handler.GetUserActivity)
|
||||||
user.Get("/api/user/repos", handler.GetUserRepos)
|
user.Get("/api/user/repos", handler.GetUserRepos)
|
||||||
user.Post("/api/user/sync", handler.PostUserSync)
|
user.Post("/api/user/sync", handler.PostUserSync)
|
||||||
user.Get("/api/user", handler.GetUserCurrent)
|
user.Get("/api/user", handler.GetUserCurrent)
|
||||||
|
Loading…
Reference in New Issue
Block a user