feat(alerting): add api endpoints for listing alerts

This commit is contained in:
bergquist
2016-04-26 17:36:50 +02:00
parent 996eec3ce2
commit 9b50313f11
4 changed files with 93 additions and 0 deletions

View File

@ -82,3 +82,16 @@ type SaveAlertsCommand struct {
Alerts *[]AlertRule
}
//Queries
type GetAlertsQuery struct {
OrgId int64
Result []AlertRule
}
type GetAlertById struct {
Id int64
Result AlertRule
}