1
0

implemented namespace update via interface method

This commit is contained in:
konrad
2018-07-12 00:30:31 +02:00
committed by kolaente
parent 0aa84e653f
commit 261aaba315
9 changed files with 103 additions and 224 deletions

View File

@ -109,7 +109,7 @@ func RegisterRoutes(e *echo.Echo) {
a.GET("/namespaces", namespaceHandler.ReadAllWeb)
a.PUT("/namespaces", namespaceHandler.CreateWeb)
a.GET("/namespaces/:id", apiv1.ShowNamespace)
a.POST("/namespaces/:id", apiv1.UpdateNamespace)
a.POST("/namespaces/:id", namespaceHandler.UpdateWeb)
a.DELETE("/namespaces/:id", apiv1.DeleteNamespaceByID)
a.GET("/namespaces/:id/lists", apiv1.GetListsByNamespaceID)
}