mirror of
https://github.com/go-gitea/gitea
synced 2025-07-10 04:27:22 +00:00
API endpoint for stargazers (#597)
This commit is contained in:
@ -326,6 +326,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
Patch(reqRepoWriter(), bind(api.EditMilestoneOption{}), repo.EditMilestone).
|
||||
Delete(reqRepoWriter(), repo.DeleteMilestone)
|
||||
})
|
||||
m.Get("/stargazers", repo.ListStargazers)
|
||||
m.Group("/subscription", func() {
|
||||
m.Get("", user.IsWatching)
|
||||
m.Put("", user.Watch)
|
||||
|
Reference in New Issue
Block a user