1
0

implemented get one namespace via interface mthod

This commit is contained in:
konrad
2018-07-12 11:54:55 +02:00
committed by kolaente
parent 6f5cf55e42
commit 868b93dbbc
3 changed files with 28 additions and 1 deletions

View File

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