mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 10:32:29 +08:00
Comments: support live comments in dashboards and annotations (#44980)
This commit is contained in:
@ -462,6 +462,11 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
|
||||
// short urls
|
||||
apiRoute.Post("/short-urls", routing.Wrap(hs.createShortURL))
|
||||
|
||||
apiRoute.Group("/comments", func(commentRoute routing.RouteRegister) {
|
||||
commentRoute.Post("/get", routing.Wrap(hs.commentsGet))
|
||||
commentRoute.Post("/create", routing.Wrap(hs.commentsCreate))
|
||||
})
|
||||
}, reqSignedIn)
|
||||
|
||||
// admin api
|
||||
|
Reference in New Issue
Block a user