mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
Initial Labels Page & API
This commit is contained in:
@@ -118,6 +118,8 @@ func RegisterRoutes(r chi.Router) {
|
||||
l.Get("/", labels.ListLabels)
|
||||
l.Post("/", labels.CreateLabel)
|
||||
l.Get("/{id}", labels.GetLabel)
|
||||
l.Patch("/{id}", labels.UpdateLabel)
|
||||
l.Delete("/{id}", labels.DeleteLabel)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user