1
0

implemented delete list item via CRUD

This commit is contained in:
konrad
2018-07-11 11:44:17 +02:00
committed by kolaente
parent 281e9c1cd0
commit 5c4fb7ed73
5 changed files with 47 additions and 61 deletions

View File

@ -100,8 +100,8 @@ func RegisterRoutes(e *echo.Echo) {
CObject: &models.ListItem{},
}
a.PUT("/lists/:id", itemHandler.CreateWeb)
a.DELETE("/item/:id", apiv1.DeleteListItemByIDtemByID)
a.POST("/item/:id", itemHandler.UpdateWeb)
a.DELETE("/items/:id", itemHandler.DeleteWeb)
a.POST("/items/:id", itemHandler.UpdateWeb)
a.GET("/namespaces", apiv1.GetAllNamespacesByCurrentUser)
a.PUT("/namespaces", apiv1.AddNamespace)