graph(add annotation): initial backend implementation #1286

This commit is contained in:
Alexander Zobnin
2017-04-10 20:22:58 +03:00
parent 362860f687
commit d553498a33
5 changed files with 47 additions and 4 deletions

View File

@@ -21,6 +21,14 @@ type ItemQuery struct {
Limit int64 `json:"limit"`
}
type PostParams struct {
DashboardId int64 `json:"dashboardId"`
PanelId int64 `json:"panelId"`
Epoch int64 `json:"epoch"`
Title string `json:"title"`
Text string `json:"text"`
}
type DeleteParams struct {
AlertId int64 `json:"alertId"`
DashboardId int64 `json:"dashboardId"`