"description":"Unique key used to delete the snapshot. It is different from the `key` so that only the creator can delete the snapshot. Required if `external` is `true`.",
"type":"string"
},
"expires":{
"default":0,
"description":"When the snapshot should expire in seconds in seconds. Default is never to expire.",
"format":"int64",
"type":"integer"
},
"external":{
"default":false,
"description":"these are passed when storing an external snapshot ref\nSave the snapshot on an external server rather than locally.",
"type":"boolean"
},
"key":{
"description":"Define the unique key. Required if `external` is `true`.",
"type":"string"
},
"name":{
"description":"Snapshot name",
"type":"string"
}
},
"required":[
"dashboard"
],
"type":"object"
},
"DashboardSnapshot":{
"description":"DashboardSnapshot model",
"properties":{
"Created":{
"format":"date-time",
"type":"string"
},
"Dashboard":{
"$ref":"#/definitions/Json"
},
"DashboardEncrypted":{
"items":{
"format":"uint8",
"type":"integer"
},
"type":"array"
},
"DeleteKey":{
"type":"string"
},
"Expires":{
"format":"date-time",
"type":"string"
},
"External":{
"type":"boolean"
},
"ExternalDeleteUrl":{
"type":"string"
},
"ExternalUrl":{
"type":"string"
},
"Id":{
"format":"int64",
"type":"integer"
},
"Key":{
"type":"string"
},
"Name":{
"type":"string"
},
"OrgId":{
"format":"int64",
"type":"integer"
},
"Updated":{
"format":"date-time",
"type":"string"
},
"UserId":{
"format":"int64",
"type":"integer"
}
},
"type":"object"
},
"DateTime":{
"description":"DateTime is a time but it serializes to ISO8601 format with millis\nIt knows how to read 3 different variations of a RFC3339 date time.\nMost APIs we encounter want either millisecond or second precision times.\nThis just tries to make it worry-free.",
"format":"date-time",
@ -2687,7 +2592,6 @@
"type":"object"
},
"URL":{
"description":"The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use RawPath, an optional field which only gets\nset if the default encoding is different from Path.\n\nURL's String method uses the EscapedPath method to obtain the path. See the\nEscapedPath method for more details.",
"properties":{
"ForceQuery":{
"type":"boolean"
@ -2720,7 +2624,7 @@
"$ref":"#/definitions/Userinfo"
}
},
"title":"A URL represents a parsed URL (technically, a URI reference).",
"title":"URL is a custom URL type that allows validation at configuration load time.",
"description":"Unique key used to delete the snapshot. It is different from the `key` so that only the creator can delete the snapshot. Required if `external` is `true`.",
"type":"string"
},
"expires":{
"description":"When the snapshot should expire in seconds in seconds. Default is never to expire.",
"type":"integer",
"format":"int64",
"default":0
},
"external":{
"description":"these are passed when storing an external snapshot ref\nSave the snapshot on an external server rather than locally.",
"type":"boolean",
"default":false
},
"key":{
"description":"Define the unique key. Required if `external` is `true`.",
"type":"string"
},
"name":{
"description":"Snapshot name",
"type":"string"
}
}
},
"DashboardSnapshot":{
"description":"DashboardSnapshot model",
"type":"object",
"properties":{
"Created":{
"type":"string",
"format":"date-time"
},
"Dashboard":{
"$ref":"#/definitions/Json"
},
"DashboardEncrypted":{
"type":"array",
"items":{
"type":"integer",
"format":"uint8"
}
},
"DeleteKey":{
"type":"string"
},
"Expires":{
"type":"string",
"format":"date-time"
},
"External":{
"type":"boolean"
},
"ExternalDeleteUrl":{
"type":"string"
},
"ExternalUrl":{
"type":"string"
},
"Id":{
"type":"integer",
"format":"int64"
},
"Key":{
"type":"string"
},
"Name":{
"type":"string"
},
"OrgId":{
"type":"integer",
"format":"int64"
},
"Updated":{
"type":"string",
"format":"date-time"
},
"UserId":{
"type":"integer",
"format":"int64"
}
}
},
"DateTime":{
"description":"DateTime is a time but it serializes to ISO8601 format with millis\nIt knows how to read 3 different variations of a RFC3339 date time.\nMost APIs we encounter want either millisecond or second precision times.\nThis just tries to make it worry-free.",
"type":"string",
@ -5012,9 +4917,8 @@
}
},
"URL":{
"description":"The general form represented is:\n\n[scheme:][//[userinfo@]host][/]path[?query][#fragment]\n\nURLs that do not start with a slash after the scheme are interpreted as:\n\nscheme:opaque[?query][#fragment]\n\nNote that the Path field is stored in decoded form: /%47%6f%2f becomes /Go/.\nA consequence is that it is impossible to tell which slashes in the Path were\nslashes in the raw URL and which were %2f. This distinction is rarely important,\nbut when it is, the code should use RawPath, an optional field which only gets\nset if the default encoding is different from Path.\n\nURL's String method uses the EscapedPath method to obtain the path. See the\nEscapedPath method for more details.",
"type":"object",
"title":"A URL represents a parsed URL (technically, a URI reference).",
"title":"URL is a custom URL type that allows validation at configuration load time.",