mirror of
https://github.com/grafana/grafana.git
synced 2026-08-12 06:05:02 -05:00
feat(alerting): add api endpoints for listing alerts
This commit is contained in:
@@ -82,3 +82,16 @@ type SaveAlertsCommand struct {
|
||||
|
||||
Alerts *[]AlertRule
|
||||
}
|
||||
|
||||
//Queries
|
||||
type GetAlertsQuery struct {
|
||||
OrgId int64
|
||||
|
||||
Result []AlertRule
|
||||
}
|
||||
|
||||
type GetAlertById struct {
|
||||
Id int64
|
||||
|
||||
Result AlertRule
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user