mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-04 01:14:36 -04:00
API endpoint for subscribers (#598)
This commit is contained in:
parent
03b45284e1
commit
8422ab542c
3 changed files with 30 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue