mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard snapshot: added delete key which can be used to delete snapshots, #1623
This commit is contained in:
@@ -44,7 +44,9 @@ func Register(r *macaron.Macaron) {
|
||||
// dashboard snapshots
|
||||
r.Post("/api/snapshots/", bind(m.CreateDashboardSnapshotCommand{}), CreateDashboardSnapshot)
|
||||
r.Get("/dashboard/snapshots/*", Index)
|
||||
|
||||
r.Get("/api/snapshots/:key", GetDashboardSnapshot)
|
||||
r.Get("/api/snapshots-delete/:key", DeleteDashboardSnapshot)
|
||||
|
||||
// authed api
|
||||
r.Group("/api", func() {
|
||||
|
||||
Reference in New Issue
Block a user