aboutsummaryrefslogtreecommitdiff
path: root/internal/route/api/v1/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/route/api/v1/api.go')
-rw-r--r--internal/route/api/v1/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/route/api/v1/api.go b/internal/route/api/v1/api.go
index a662f55f..62c933ad 100644
--- a/internal/route/api/v1/api.go
+++ b/internal/route/api/v1/api.go
@@ -280,6 +280,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Get("/:sha", repo.GetRepoGitTree)
})
m.Get("/forks", repo.ListForks)
+ m.Get("/tags", repo.ListTags)
m.Group("/branches", func() {
m.Get("", repo.ListBranches)
m.Get("/*", repo.GetBranch)