feat(api): adds endpoint for mass pausing alerts

ref #6589
This commit is contained in:
bergquist
2016-12-16 15:00:58 +01:00
parent 830bf5a91c
commit fb6aa0e026
9 changed files with 117 additions and 39 deletions
+5
View File
@@ -64,3 +64,8 @@ type PauseAlertCommand struct {
AlertId int64 `json:"alertId"`
Paused bool `json:"paused"`
}
type PauseAlertsCommand struct {
DataSourceIds []int64 `json:"datasourceId"`
Paused bool `json:"paused"`
}