1
0

Added basic functions + endpoints to add/update namespaces

This commit is contained in:
kolaente
2018-07-02 08:40:24 +02:00
parent bd2bf24813
commit 6dfdcb9571
6 changed files with 218 additions and 3 deletions

View File

@ -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")
}