|
|
@@ -285,6 +285,7 @@ func (hs *HttpServer) registerRoutes() {
|
|
|
}, reqEditorRole)
|
|
|
|
|
|
r.Get("/annotations", wrap(GetAnnotations))
|
|
|
+ r.Post("/annotations/mass-delete", reqOrgAdmin, bind(dtos.DeleteAnnotationsCmd{}), wrap(DeleteAnnotations))
|
|
|
|
|
|
r.Group("/annotations", func() {
|
|
|
r.Post("/", bind(dtos.PostAnnotationsCmd{}), wrap(PostAnnotation))
|