grafana/docs/sources
Kat Yang 719af24235
Refactor: Add UID endpoint for dashboard versions and restore (#48364)
* Refactor: Add UID endpoint for dashboard versions and restore

* Fix: User dashID instead of dash.id

* 💩

* Move apiCmd error handling outside of dashUID check

* fix the panic in test

* Fix handler and update docs

Co-authored-by: Kat Yang <yangkb09@users.noreply.github.com>

* Docs: add deprecated warning to restore and version docs

* Fix hyperlink text

* Add swagger endpoints for restore and versions

* Add deprecated tag on swagger for both endpoints

* Fix: Update access control to be dashboards

* Return UID in response; Update docs to reflect this; Implement Ying suggestion

* Update docs/sources/http_api/dashboard_versions.md

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* Update pkg/models/dashboard_version.go

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* Update pkg/models/dashboard_version.go

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* Update query to refer to DashboardUID

Co-authored-by: Ying WANG <ying.wang@grafana.com>
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Kat Yang <yangkb09@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-05-17 12:57:27 -04:00
..
administration Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
alerting Docs: pull labels and label matchers in to its own fundamentals article (#48758) 2022-05-17 17:31:39 +02:00
auth Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
basics Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
best-practices Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
dashboards Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
datasources Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
developers Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
enterprise Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
explore Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
getting-started Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
http_api Refactor: Add UID endpoint for dashboard versions and restore (#48364) 2022-05-17 12:57:27 -04:00
image-rendering Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
installation Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
introduction Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
linking Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
live Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
old-alerting Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
panels Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
plugins Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
release-notes Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
shared Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
sharing Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
troubleshooting Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
variables Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
visualizations Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
whatsnew Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
_index.md Add current alias to all files (#48635) 2022-05-17 08:24:11 -07:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00