mirror of
https://github.com/grafana/grafana.git
synced 2026-08-14 07:04:57 -05:00
Snapshot name is saved in DB now
This commit is contained in:
@@ -25,6 +25,7 @@ type DashboardSnapshot struct {
|
||||
|
||||
type CreateDashboardSnapshotCommand struct {
|
||||
Dashboard map[string]interface{} `json:"dashboard" binding:"Required"`
|
||||
Name string `json:"name" binding:"Required"`
|
||||
Expires int64 `json:"expires"`
|
||||
|
||||
// these are passed when storing an external snapshot ref
|
||||
@@ -32,8 +33,8 @@ type CreateDashboardSnapshotCommand struct {
|
||||
Key string `json:"key"`
|
||||
DeleteKey string `json:"deleteKey"`
|
||||
|
||||
OrgId int64 `json:"-"`
|
||||
UserId int64 `json:"-"`
|
||||
OrgId int64 `json:"-"`
|
||||
UserId int64 `json:"-"`
|
||||
|
||||
Result *DashboardSnapshot
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user