mirror of
https://github.com/go-gitea/gitea
synced 2025-07-15 23:17:19 +00:00
API endpoint for subscribers (#598)
This commit is contained in:
@@ -327,6 +327,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
Delete(reqRepoWriter(), repo.DeleteMilestone)
|
||||
})
|
||||
m.Get("/stargazers", repo.ListStargazers)
|
||||
m.Get("/subscribers", repo.ListSubscribers)
|
||||
m.Group("/subscription", func() {
|
||||
m.Get("", user.IsWatching)
|
||||
m.Put("", user.Watch)
|
||||
|
Reference in New Issue
Block a user