Chore: Add dashboard UID as query parameter of Get annotation endpoint (#52764)

* Chore: Add dashboard uid as query parameter of Get annotation endpoint

* Update pkg/api/annotations.go

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* update the dashboarUID

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
This commit is contained in:
ying-jeanne
2022-07-26 21:52:34 -04:00
committed by GitHub
co-authored by Sofia Papagiannaki
parent a5410063c6
commit 7da0a6d3ce
6 changed files with 29 additions and 0 deletions
+4
View File
@@ -149,6 +149,10 @@ type GetAnnotationsParams struct {
// in:query
// required:false
DashboardID int64 `json:"dashboardId"`
// Find annotations that are scoped to a specific dashboard
// in:query
// required:false
DashboardUID string `json:"dashboardUID"`
// Find annotations that are scoped to a specific panel
// in:query
// required:false