feat(alerting): add support for alert page filter

This commit is contained in:
bergquist
2016-05-09 14:44:44 +02:00
parent 3e462f2914
commit 1be513fabd
9 changed files with 85 additions and 35 deletions
+1
View File
@@ -96,6 +96,7 @@ type DeleteAlertCommand struct {
//Queries
type GetAlertsQuery struct {
OrgId int64
State []string
Result []AlertRule
}
+1 -1
View File
@@ -38,7 +38,7 @@ type UpdateAlertStateCommand struct {
// Queries
type GetAlertsStateCommand struct {
type GetAlertsStateQuery struct {
OrgId int64 `json:"orgId" binding:"Required"`
AlertId int64 `json:"alertId" binding:"Required"`