API: add stars HTTP endpoint (#48612)
Co-authored-by: Ying WANG <ying.wang@grafana.com>
This commit is contained in:
co-authored by
Ying WANG
parent
b231cbcf86
commit
88eeb878a4
@@ -156,6 +156,7 @@ func (hs *HTTPServer) registerRoutes() {
|
||||
userRoute.Get("/orgs", routing.Wrap(hs.GetSignedInUserOrgList))
|
||||
userRoute.Get("/teams", routing.Wrap(hs.GetSignedInUserTeamList))
|
||||
|
||||
userRoute.Get("/stars", routing.Wrap(hs.GetStars))
|
||||
userRoute.Post("/stars/dashboard/:id", routing.Wrap(hs.StarDashboard))
|
||||
userRoute.Delete("/stars/dashboard/:id", routing.Wrap(hs.UnstarDashboard))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user