|
|
|
@@ -763,6 +763,7 @@ func RegisterRoutes(m *macaron.Macaron) { |
|
|
|
m.Group("/:username/:reponame", func() { |
|
|
|
m.Get("/right", reqToken(), repo.GetRight) |
|
|
|
m.Get("/tagger", reqToken(), repo.ListTagger) |
|
|
|
m.Get("/cloudBrainJobId", repo.GetCloudBrainJobId) |
|
|
|
m.Combo("").Get(reqAnyRepoReader(), repo.Get). |
|
|
|
Delete(reqToken(), reqOwner(), repo.Delete). |
|
|
|
Patch(reqToken(), reqAdmin(), bind(api.EditRepoOption{}), context.RepoRef(), repo.Edit) |
|
|
|
|