mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 17:22:18 +08:00
feat(alerting): add api route for alert changes
This commit is contained in:
@ -237,6 +237,7 @@ func Register(r *macaron.Macaron) {
|
||||
r.Get("/metrics/test", GetTestMetrics)
|
||||
|
||||
r.Group("/alert_rule", func() {
|
||||
r.Get("/changes", wrap(GetAlertChanges))
|
||||
r.Get("/", wrap(GetAlerts))
|
||||
r.Get("/:id", ValidateOrgAlert, wrap(GetAlert))
|
||||
})
|
||||
|
Reference in New Issue
Block a user