1
0

Implemented create and update methods for items

This commit is contained in:
konrad
2018-07-11 02:39:55 +02:00
committed by kolaente
parent 592dc20af4
commit ee4a904e35
4 changed files with 34 additions and 114 deletions

View File

@ -101,7 +101,7 @@ func RegisterRoutes(e *echo.Echo) {
}
a.PUT("/lists/:id", itemHandler.CreateWeb)
a.DELETE("/item/:id", apiv1.DeleteListItemByIDtemByID)
a.POST("/item/:id", apiv1.UpdateListItem)
a.POST("/item/:id", itemHandler.UpdateWeb)
a.GET("/namespaces", apiv1.GetAllNamespacesByCurrentUser)
a.PUT("/namespaces", apiv1.AddNamespace)