|
|
@@ -25,7 +25,7 @@ type DashboardSnapshot struct {
|
|
|
|
|
|
type CreateDashboardSnapshotCommand struct {
|
|
|
Dashboard map[string]interface{} `json:"dashboard" binding:"Required"`
|
|
|
- Name string `json:"name" binding:"Required"`
|
|
|
+ Name string `json:"name" binding:"Required"`
|
|
|
Expires int64 `json:"expires"`
|
|
|
|
|
|
// these are passed when storing an external snapshot ref
|
|
|
@@ -33,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
|
|
|
}
|