feat(grafana): add new api response for dashboard versions
This commit is contained in:
parent
77d9784796
commit
5106b946f3
2 changed files with 25 additions and 7 deletions
|
@ -1,6 +1,8 @@
|
|||
package schema
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type DashboardVersion struct {
|
||||
ID uint `json:"id"`
|
||||
|
@ -15,4 +17,9 @@ type DashboardVersion struct {
|
|||
Data any `json:"data"`
|
||||
}
|
||||
|
||||
type DashboardVersionListResponse []DashboardVersion
|
||||
type DashboardVersionListResponseV10 []DashboardVersion
|
||||
|
||||
type DashboardVersionListResponse struct {
|
||||
ContinueToken string `json:"continueToken"`
|
||||
Versions DashboardVersionListResponseV10 `json:"versions"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue