Added basic functions + endpoints to add/update namespaces
This commit is contained in:
@ -92,4 +92,11 @@ func RegisterRoutes(e *echo.Echo) {
|
||||
|
||||
a.DELETE("/item/:id", apiv1.DeleteListItemByIDtemByID)
|
||||
a.POST("/item/:id", apiv1.UpdateListItem)
|
||||
|
||||
a.GET("/namespaces")
|
||||
a.PUT("/namespaces", apiv1.AddNamespace)
|
||||
a.GET("/namespaces/:id")
|
||||
a.POST("/namespaces/:id", apiv1.UpdateNamespace)
|
||||
a.PUT("/namespaces/:id")
|
||||
a.DELETE("/namespaces/:id")
|
||||
}
|
||||
|
Reference in New Issue
Block a user