1
0

Implemented deletion of namespaces

This commit is contained in:
konrad
2018-07-12 23:33:37 +02:00
committed by kolaente
parent 55c02bc973
commit c5888093fe
4 changed files with 16 additions and 46 deletions

View File

@ -110,6 +110,6 @@ func RegisterRoutes(e *echo.Echo) {
a.PUT("/namespaces", namespaceHandler.CreateWeb)
a.GET("/namespaces/:id", namespaceHandler.ReadOneWeb)
a.POST("/namespaces/:id", namespaceHandler.UpdateWeb)
a.DELETE("/namespaces/:id", apiv1.DeleteNamespaceByID)
a.DELETE("/namespaces/:id", namespaceHandler.DeleteWeb)
a.GET("/namespaces/:id/lists", apiv1.GetListsByNamespaceID)
}